author | František Kučera <franta-hg@frantovo.cz> |
Mon Nov 07 20:31:08 2011 +0100 (2011-11-07) | |
changeset 196 | 27b751390163 |
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 |
}; |