author | František Kučera <franta-hg@frantovo.cz> |
Sun, 12 Feb 2012 19:42:39 +0100 | |
changeset 203 | ac7c8d18831b |
parent 181 | bcf03fc1e3f9 |
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 |
}; |