Enable ajaxify comment deletion again ([thomasdesvenain]). This has been disabled in 1.0b12 because of problems with Plone 3.

svn path=/plone.app.discussion/trunk/; revision=46970
This commit is contained in:
Timo Stollenwerk 2011-01-20 19:38:26 +00:00
parent c15c898565
commit 9cc32a76a4
2 changed files with 5 additions and 2 deletions

View File

@ -4,6 +4,10 @@ Changelog
2.0RC1 (unreleased) 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 - Remove collective.autopermission dependency that has become unnecessary in
Plone 4.1. Plone 4.1.
[timo] [timo]

View File

@ -168,7 +168,6 @@
/********************************************************************** /**********************************************************************
* Delete a comment and its answers. * 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 trigger = this;
var form = $(this).parents("form"); var form = $(this).parents("form");
@ -210,7 +209,7 @@
} }
}); });
return false; return false;
});*/ });
/********************************************************************** /**********************************************************************
* By default, hide the reply and the cancel button for the regular add * By default, hide the reply and the cancel button for the regular add