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:
parent
f2f97c5b38
commit
08857df7a9
@ -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().
|
||||
|
Loading…
Reference in New Issue
Block a user