Fix discussion control panel submit. This fixes Refs #11486.
svn path=/plone.app.discussion/trunk/; revision=51246
This commit is contained in:
parent
9cd4058bca
commit
c2ff87a778
@ -1,6 +1,12 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
2.0.7 (unreleased)
|
||||||
|
------------------
|
||||||
|
|
||||||
|
- Fix discussion control panel submit. This fixes ttps://dev.plone.org/plone/ticket/11486.
|
||||||
|
|
||||||
|
|
||||||
2.0.6 (2011-07-04)
|
2.0.6 (2011-07-04)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@
|
|||||||
* the required attributes.
|
* the required attributes.
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
$("input[name='form.buttons.save']").bind("click", function (e) {
|
$("input[name='form.buttons.save']").bind("click", function (e) {
|
||||||
//e.preventDefault();
|
e.preventDefault();
|
||||||
var form = $(this).parents("form");
|
var form = $(this).parents("form");
|
||||||
$(form).find("input,select").removeAttr('disabled');
|
$(form).find("input,select").removeAttr('disabled');
|
||||||
$(form).submit();
|
$(form).submit();
|
||||||
|
Loading…
Reference in New Issue
Block a user