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
+4
View File
@@ -4,6 +4,10 @@ Changelog
1.0RC1 (unreleased)
-------------------
- Fix cancel button on edit view when using Dexterity types. This fixes
http://dev.plone.org/plone/ticket/11338.
[EpeliJYU]
- Assigning the 'Reply to item' permission to the 'Authenticated' role. The old
commenting system allowed 'Authenticated' users to post comments. Also, OpenID
users do not possess the 'Authenticated' role.
@@ -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().