Timo Stollenwerk
2ff95fe847
Make sure the moderation JS functions are executed after the page is fully loaded.
...
svn path=/plone.app.discussion/trunk/; revision=40215
2010-09-24 14:57:19 +00:00
Timo Stollenwerk
399bba5eca
Use "(function($) { /* some code that uses $ */ })(jQuery)" instead of "$(document).ready(function(){ /* some code that uses $ */ });" to invoke jQuery code.
...
svn path=/plone.app.discussion/trunk/; revision=40214
2010-09-24 14:21:26 +00:00
Timo Stollenwerk
ba8e7ac5cd
Move the functions out of the ready function. this makes the JS tests pass.
...
svn path=/plone.app.discussion/trunk/; revision=39151
2010-08-27 21:26:37 +00:00
Timo Stollenwerk
a1605fb88b
Revert r39104 since it breaks the comments js.
...
svn path=/plone.app.discussion/trunk/; revision=39141
2010-08-27 20:45:11 +00:00
Timo Stollenwerk
d713409aa1
Use a discussion JS namespace for comments.js; JS tests for clearForm and createReplyForm functions added.
...
svn path=/plone.app.discussion/trunk/; revision=39104
2010-08-27 17:11:25 +00:00
Timo Stollenwerk
d3074fa4fd
Make Javascripts pass JSLint validation
...
svn path=/plone.app.discussion/trunk/; revision=39059
2010-08-27 10:34:42 +00:00
Timo Stollenwerk
28d88dcfb4
Clean up Javascript code. Obey the 80 character limit.
...
svn path=/plone.app.discussion/trunk/; revision=36991
2010-06-04 09:25:47 +00:00
Hanno Schlichting
c27d1b5cc1
De-tabbify
...
svn path=/plone.app.discussion/trunk/; revision=33491
2010-01-27 14:54:07 +00:00
Timo Stollenwerk
dd6fdd34fb
fix typo.
...
svn path=/plone.app.discussion/trunk/; revision=31925
2009-11-19 21:42:02 +00:00
Timo Stollenwerk
48ab88a8b4
code cleanup;
...
reply to comment button and handler removed;
reply-to-comment is now handled by the comment handler as well;
this also solves story 1173673;
svn path=/plone.app.discussion/trunk/; revision=29434
2009-08-28 13:03:16 +00:00
Timo Stollenwerk
1747a3655b
fix recaptcha reply-to-comment form bug.
...
svn path=/plone.app.discussion/trunk/; revision=29433
2009-08-28 12:03:34 +00:00
Timo Stollenwerk
72ac358c4c
fix reply-to-comment form buttons.
...
svn path=/plone.app.discussion/trunk/; revision=29405
2009-08-26 22:31:23 +00:00
Timo Stollenwerk
defb4b91c4
hide reply and cancel button with css when JS is disabled.
...
svn path=/plone.app.discussion/trunk/; revision=29403
2009-08-26 21:53:34 +00:00
Timo Stollenwerk
987805c927
fix inline validation for reply-to-comment form.
...
svn path=/plone.app.discussion/trunk/; revision=28923
2009-08-15 16:36:49 +00:00
Timo Stollenwerk
a63f518bcb
fix the cancel button for the comment reply form.
...
svn path=/plone.app.discussion/trunk/; revision=28354
2009-08-04 18:39:10 +00:00
Timo Stollenwerk
12ee7d6a5a
show/hide the comment/reply button inside the comment/reply-to-comment forms.
...
svn path=/plone.app.discussion/trunk/; revision=28352
2009-08-04 15:19:20 +00:00
Timo Stollenwerk
ddd8596dbd
move reply to comment view to z3cform.
...
svn path=/plone.app.discussion/trunk/; revision=28349
2009-08-04 14:51:34 +00:00
Timo Stollenwerk
bed1b420ba
fix publish comment. remove ajax functions for now.
...
svn path=/plone.app.discussion/trunk/; revision=27864
2009-07-07 08:00:41 +00:00
Timo Stollenwerk
54f6c09c7b
rename reply_to_comment_form.js to comments.js.
...
svn path=/plone.app.discussion/trunk/; revision=27840
2009-07-06 17:38:18 +00:00