From 0e2682de1c6117d81a04b745f74bf7674b17bcc8 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 15 Oct 2010 01:38:19 +0000 Subject: [PATCH] BUGFIX: Fix ModelAdmin Import hang (ticket 5569) (from r104533) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112454 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 36f3374c..d5df40ad 100644 --- a/javascript/ModelAdmin.js +++ b/javascript/ModelAdmin.js @@ -62,7 +62,7 @@ */ onsubmit: function(e) { // Import forms are processed without ajax - if(this.is('#Form_ImportForm')) return true; + if(this.is('form[id^=Form_ImportForm])')) return true; $('#contentPanel').closeRightPanel();