From 5a083b9b1daa32790af55dd46f52f25cf47a115f Mon Sep 17 00:00:00 2001 From: Luke Hudson Date: Tue, 11 May 2010 02:31:41 +0000 Subject: [PATCH] BUGFIX: Fix ModelAdmin Import hang (ticket 5569) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@104533 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/ModelAdmin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/ModelAdmin.js b/javascript/ModelAdmin.js index ffcf7fbd..7c08bcff 100644 --- a/javascript/ModelAdmin.js +++ b/javascript/ModelAdmin.js @@ -129,7 +129,7 @@ $(document).ready(function() { * * @todo use jQuery.live to manage ResultTable click handlers */ - $('#SearchForm_holder .tab form:not(#Form_ImportForm)').submit(function () { + $('#SearchForm_holder .tab form:not([id^=Form_ImportForm])').submit(function () { var $form = $(this); $('#contentPanel').fn('closeRightPanel'); // @todo TinyMCE coupling