java/nekurak.net-web/web/js/komentare.js
author František Kučera <franta-hg@frantovo.cz>
Tue, 23 Apr 2013 21:43:37 +0200
changeset 204 bebec432330a
parent 181 bcf03fc1e3f9
permissions -rw-r--r--
oprava chatu, tabulátory
     1 var komentare = {};
     2 
     3 komentare.zobrazFormular = function () {
     4 	$("#formularKomentuj").toggle();
     5 };
     6 
     7 komentare.nahled = function() {
     8 	/**
     9 	 * TODO: správné URL – ${zc}
    10 	 */
    11 	$("#formularKomentuj .vystup").load(nekurak.contextPath + "komentare", $("#formularKomentuj form").serialize());
    12 };
    13 
    14 komentare.odeslat = function() {
    15 	/**
    16 	 * TODO: správné URL – ${zc}
    17 	 */
    18 	$("#formularKomentuj .vystup").load(nekurak.contextPath + "komentare?odeslat=true", $("#formularKomentuj form").serialize());
    19 };