diff --git a/CHANGES.txt b/CHANGES.txt index c152853..ccf658e 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,10 @@ Changelog 2.0RC1 (unreleased) ------------------- +- Enable ajaxify comment deletion again ([thomasdesvenain]). This has been + disabled in 1.0b12 because of problems with Plone 3. + [timo] + - Remove collective.autopermission dependency that has become unnecessary in Plone 4.1. [timo] diff --git a/plone/app/discussion/browser/javascripts/comments.js b/plone/app/discussion/browser/javascripts/comments.js index 5a0cff8..1664708 100644 --- a/plone/app/discussion/browser/javascripts/comments.js +++ b/plone/app/discussion/browser/javascripts/comments.js @@ -168,7 +168,6 @@ /********************************************************************** * Delete a comment and its answers. **********************************************************************/ - /* $("input[name='form.button.DeleteComment']").live('click', function () { var trigger = this; var form = $(this).parents("form"); @@ -210,7 +209,7 @@ } }); return false; - });*/ + }); /********************************************************************** * By default, hide the reply and the cancel button for the regular add