Another fix for http://dev.plone.org/plone/ticket/11486. r51246 fixed Chrome but broke Safari. This fix has been tested in Fx, Chrome, Safari and IE 9.
svn path=/plone.app.discussion/trunk/; revision=51258
This commit is contained in:
@@ -118,12 +118,10 @@
|
||||
* submitting the form. Otherwise the z3c.form will raise errors on
|
||||
* the required attributes.
|
||||
**********************************************************************/
|
||||
$("input[name='form.buttons.save']").bind("click", function (e) {
|
||||
e.preventDefault();
|
||||
var form = $(this).parents("form");
|
||||
$(form).find("input,select").removeAttr('disabled');
|
||||
$(form).submit();
|
||||
});
|
||||
$("form#DiscussionSettingsEditForm").bind("submit", function (e) {
|
||||
$(this).find("input,select").removeAttr('disabled');
|
||||
$(this).submit();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user