author | František Kučera <franta-hg@frantovo.cz> |
Fri Nov 18 21:34:47 2011 +0100 (2011-11-18) | |
changeset 198 | 3464334db89a |
parent 179 | 2ed9f3231a28 |
permissions | -rw-r--r-- |
franta-hg@128 | 1 |
var komentare = {}; |
franta-hg@128 | 2 |
|
franta-hg@128 | 3 |
komentare.zobrazFormular = function () { |
franta-hg@145 | 4 |
$("#formularKomentuj").toggle(); |
franta-hg@128 | 5 |
}; |
franta-hg@142 | 6 |
|
franta-hg@142 | 7 |
komentare.nahled = function() { |
franta-hg@179 | 8 |
/** |
franta-hg@179 | 9 |
* TODO: správné URL – ${zc} |
franta-hg@179 | 10 |
*/ |
franta-hg@181 | 11 |
$("#formularKomentuj .vystup").load(nekurak.contextPath + "komentare", $("#formularKomentuj form").serialize()); |
franta-hg@142 | 12 |
}; |
franta-hg@142 | 13 |
|
franta-hg@142 | 14 |
komentare.odeslat = function() { |
franta-hg@179 | 15 |
/** |
franta-hg@179 | 16 |
* TODO: správné URL – ${zc} |
franta-hg@179 | 17 |
*/ |
franta-hg@181 | 18 |
$("#formularKomentuj .vystup").load(nekurak.contextPath + "komentare?odeslat=true", $("#formularKomentuj form").serialize()); |
franta-hg@142 | 19 |
}; |