Fix cancel button on edit view when using Dexterity types. This fixes http://dev.plone.org/plone/ticket/11338. Refs #11338

svn path=/plone.app.discussion/trunk/; revision=46254
This commit is contained in:
Timo Stollenwerk
2010-12-11 21:33:43 +00:00
parent f2f97c5b38
commit 08857df7a9
2 changed files with 5 additions and 1 deletions
@@ -120,7 +120,7 @@
* If the user hits the "clear" button of an open reply-to-comment form,
* remove the form and show the "reply" button again.
**********************************************************************/
$("#form-buttons-cancel").bind("click", function (e) {
$("#commenting #form-buttons-cancel").bind("click", function (e) {
e.preventDefault();
var reply_to_comment_button = $(this).
parents().