MINOR More jQuery backwards compatible id attribute check in ModelAdmin.js

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115183 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-12-20 00:00:47 +00:00
parent 95e6516e61
commit 172ad1e418

View File

@ -62,7 +62,7 @@
*/
onsubmit: function(e) {
// Import forms are processed without ajax
if(this.is('form[id^=Form_ImportForm])')) return true;
if(this.attr('id').match(/^Form_ImportForm/)) return true;
$('#contentPanel').closeRightPanel();