remove the submitting completly, the form is submitted fine without and this fixes both #13037 and #12357

This commit is contained in:
maartenkling 2012-10-26 11:12:44 +02:00
parent f8bf11dc31
commit 62b0b47b56
2 changed files with 2 additions and 3 deletions

View File

@ -4,8 +4,8 @@ Changelog
2.2.1 (unreleased) 2.2.1 (unreleased)
------------------ ------------------
- Submit form using other jquery selector so FF and Chrome don't crash - Remove submitting the controlpanel form again after removing disabled tags
fixes #13037 fixes #13037 and #12357
[maartenkling] [maartenkling]
- Remove inline styles, fixes #12399 - Remove inline styles, fixes #12399

View File

@ -120,7 +120,6 @@
**********************************************************************/ **********************************************************************/
$("form#DiscussionSettingsEditForm").bind("submit", function (e) { $("form#DiscussionSettingsEditForm").bind("submit", function (e) {
$(this).find("input,select").removeAttr('disabled'); $(this).find("input,select").removeAttr('disabled');
$("form#DiscussionSettingsEditForm").submit();
}); });
}); });