diff --git a/CHANGES.txt b/CHANGES.txt index 3144ffe..75504b5 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,15 @@ Changelog ========= +1.0b12 (2010-11-04) +------------------- + +- Remove AJAX comment deletion binding. This function relies on the nextUntil() + selector introduced by jQuery 1.4 and therefore breaks in Plone 3 + (that currently uses jQuery 1.3.2). + [timo] + + 1.0b11 (2010-11-03) ------------------- diff --git a/plone/app/discussion/browser/javascripts/comments.js b/plone/app/discussion/browser/javascripts/comments.js index bb7335b..e724701 100644 --- a/plone/app/discussion/browser/javascripts/comments.js +++ b/plone/app/discussion/browser/javascripts/comments.js @@ -168,7 +168,8 @@ /********************************************************************** * Delete a comment and its answers. **********************************************************************/ - $("input[name='form.button.DeleteComment']").live('click', function () { + /* + $("input[name='form.button.DeleteComment']").live('click', function () { var trigger = this; var form = $(this).parents("form"); var data = $(form).serialize(); @@ -209,7 +210,7 @@ } }); return false; - }); + });*/ /********************************************************************** * By default, hide the reply and the cancel button for the regular add