Fix discussion control panel submit. This fixes Refs #11486.

svn path=/plone.app.discussion/trunk/; revision=51246
This commit is contained in:
Timo Stollenwerk 2011-07-14 07:09:58 +00:00
parent 9cd4058bca
commit c2ff87a778
3 changed files with 8 additions and 2 deletions

View File

@ -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)
------------------ ------------------

View File

@ -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();

View File

@ -1,6 +1,6 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
version = '2.0.6' version = '2.0.7'
install_requires = [ install_requires = [
'setuptools', 'setuptools',