Timo Stollenwerk
cc96acb50a
Ajaxify comment deletion and approval. thanks thomasdesvenain!
...
svn path=/plone.app.discussion/trunk/; revision=40984
2010-10-30 17:32:31 +00:00
Timo Stollenwerk
22e4189c37
Revert revisions r40851 to r40853, they should have gone into the ajax-ui branch.
...
svn path=/plone.app.discussion/trunk/; revision=40856
2010-10-28 09:39:00 +00:00
Timo Stollenwerk
14e2600a79
Make ajax call for delete comment button work for comment replies.
...
svn path=/plone.app.discussion/trunk/; revision=40853
2010-10-27 16:10:04 +00:00
Timo Stollenwerk
926e4f6b8e
Integrate Denys ajax ui code.
...
svn path=/plone.app.discussion/trunk/; revision=40852
2010-10-27 14:44:52 +00:00
Timo Stollenwerk
7de585542b
Fix moderation actions (publish, delete) in the moderation view with virtual hosts. This is a replacement for http://dev.plone.org/plone/changeset/35608 .
...
svn path=/plone.app.discussion/trunk/; revision=40518
2010-10-05 15:21:54 +00:00
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
67fb426f08
Javascript doc added.
...
svn path=/plone.app.discussion/trunk/; revision=39146
2010-08-27 20:52:38 +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
4fa3f476d4
allow to show the full text of a comment in the moderation view.
...
svn path=/plone.app.discussion/trunk/; revision=33400
2010-01-25 11:43:29 +00:00
Timo Stollenwerk
489afd8636
Bugfix #2281226 : Moderation View: Comments disappear when hitting the 'Apply' button without choosing a bulk action.
...
svn path=/plone.app.discussion/trunk/; revision=33399
2010-01-25 10:51:27 +00:00
Timo Stollenwerk
47cba8797f
filter tabs removed from moderation view;
...
svn path=/plone.app.discussion/trunk/; revision=32355
2009-12-08 11:19:26 +00:00
Timo Stollenwerk
ff9e2205c9
fix ajax call for workflow_action publish in moderation view.
...
svn path=/plone.app.discussion/trunk/; revision=32342
2009-12-07 16:11:49 +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
d2ceb44a0c
fixed IE errors. merge r29394 from evilbungle-safe-html branch.
...
svn path=/plone.app.discussion/trunk/; revision=29398
2009-08-26 15:05:58 +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
Timo Stollenwerk
a608c58c4c
use "@@moderate-publish-comment" instead of "content_status_modify" for publishing comments. content_status_modify does not reindex the comment properly.
...
svn path=/plone.app.discussion/trunk/; revision=27839
2009-07-06 17:30:19 +00:00
Timo Stollenwerk
0c377e3c9b
fix remove comment button in the comments viewlet.
...
svn path=/plone.app.discussion/trunk/; revision=27815
2009-07-04 16:59:55 +00:00
Timo Stollenwerk
2e04461162
remove nested forms from moderate comments view. rewrite jquery code for comment delete and publish.
...
svn path=/plone.app.discussion/trunk/; revision=27750
2009-06-30 22:17:42 +00:00
Timo Stollenwerk
d3f9b90546
fix check/uncheck all.
...
svn path=/plone.app.discussion/trunk/; revision=27734
2009-06-29 20:44:20 +00:00
Timo Stollenwerk
3a9068f643
reset the select fields after publish bulk action.
...
svn path=/plone.app.discussion/trunk/; revision=27733
2009-06-29 20:32:05 +00:00
Timo Stollenwerk
450204fc43
reset the bulkaction field after submitting a bulk action.
...
svn path=/plone.app.discussion/trunk/; revision=27732
2009-06-29 20:08:39 +00:00
Timo Stollenwerk
be04439891
remove the publish form when a comment is published in the view without a filter.
...
svn path=/plone.app.discussion/trunk/; revision=27726
2009-06-29 15:29:51 +00:00
Timo Stollenwerk
a00dea41e3
differentiate between delete and publish AJAX calls.
...
svn path=/plone.app.discussion/trunk/; revision=27725
2009-06-29 15:09:41 +00:00
Timo Stollenwerk
2bc25c06de
move jQuery code for comment actions from page template to moderation.js.
...
svn path=/plone.app.discussion/trunk/; revision=27721
2009-06-29 13:39:55 +00:00
Timo Stollenwerk
502015b14e
submit bulkactions with an AJAX call.
...
svn path=/plone.app.discussion/trunk/; revision=27720
2009-06-29 13:38:00 +00:00
Timo Stollenwerk
da2402865f
minor: comment changed.
...
svn path=/plone.app.discussion/trunk/; revision=27717
2009-06-29 11:16:14 +00:00
Timo Stollenwerk
5885be08cc
fix select all JS for moderation view (do not override the checkbox value).
...
svn path=/plone.app.discussion/trunk/; revision=27716
2009-06-29 11:15:37 +00:00
Timo Stollenwerk
c25557650f
add "select all" JS to select all comments in the moderate comments view.
...
svn path=/plone.app.discussion/trunk/; revision=27714
2009-06-29 09:54:53 +00:00
Timo Stollenwerk
4102fb6f6f
fix reply bug ("TypeError: long() argument must be a string or a number") in Chrome.
...
svn path=/plone.app.discussion/trunk/; revision=27535
2009-06-20 16:24:16 +00:00
Timo Stollenwerk
e9f24cfa74
Complete rewrite of the show/hide reply-to-comment forms.
...
Switch from Javascript event handlers to jQuery event binding.
Replace reply-to-comment image with a standard reply button.
Fix IE7 show reply-to-comment form is not working.
svn path=/plone.app.discussion/trunk/; revision=27533
2009-06-20 16:00:36 +00:00
Timo Stollenwerk
adb3a6d9be
remove typed in text after copying the reply form.
...
svn path=/plone.app.discussion/trunk/; revision=27472
2009-06-16 23:04:54 +00:00
Timo Stollenwerk
854f98ebbe
add slidedown effect when the reply-to-comment form is opened.
...
svn path=/plone.app.discussion/trunk/; revision=27310
2009-06-05 07:07:18 +00:00
Timo Stollenwerk
47911fa24a
use slideUp() instead of hide() jquery function to hide the reply form.
...
svn path=/plone.app.discussion/trunk/; revision=27264
2009-06-02 16:36:16 +00:00
Timo Stollenwerk
b9aeabedb1
fix the error of showing too much reply forms in the reply-to-comment jquery function.
...
svn path=/plone.app.discussion/trunk/; revision=27263
2009-06-02 16:13:44 +00:00
Timo Stollenwerk
068583db76
cancel button added to the reply-to-comment form.
...
svn path=/plone.app.discussion/trunk/; revision=27262
2009-06-02 15:09:25 +00:00