java/nekurak.net-web/web/js/komentare.js
author František Kučera <franta-hg@frantovo.cz>
Wed Jan 26 18:58:02 2011 +0100 (2011-01-26)
changeset 182 bb8af29610c4
parent 179 2ed9f3231a28
permissions -rw-r--r--
Added signature for changeset bcf03fc1e3f9
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
};