diff -r 24fbed5ba743 -r 3ea50a264ce0 java/nekurak.net-web/web/js/komentare.js --- a/java/nekurak.net-web/web/js/komentare.js Tue Jun 08 03:18:12 2010 +0200 +++ b/java/nekurak.net-web/web/js/komentare.js Sat Jun 19 14:37:11 2010 +0200 @@ -3,3 +3,11 @@ komentare.zobrazFormular = function () { $("#formularKomentuj").toggle(); }; + +komentare.nahled = function() { + $("#formularKomentuj .vystup").load("komentare", $("#formularKomentuj form").serialize()); +}; + +komentare.odeslat = function() { + $("#formularKomentuj .vystup").load("komentare?odeslat=true", $("#formularKomentuj form").serialize()); +};