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).

svn path=/plone.app.discussion/trunk/; revision=45188
This commit is contained in:
Timo Stollenwerk 2010-11-04 14:42:32 +00:00
parent b68da9925b
commit 823ada7491
2 changed files with 12 additions and 2 deletions

View File

@ -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)
-------------------

View File

@ -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