BUGFIX Stop IE6/IE7 from redirecting in admin/assets after deleting multiple folders (fixes #5208)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101969 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-03-31 05:00:02 +00:00 committed by Sam Minnee
parent b055154586
commit f5be047b97
2 changed files with 6 additions and 4 deletions

View File

@ -650,7 +650,8 @@ JS;
} }
$script .= "statusMessage('$message');"; $script .= "statusMessage('$message');";
echo $script;
return $script;
} }
public function removefile(){ public function removefile(){

View File

@ -506,7 +506,8 @@ appendLoader(function () {
onsubmit: function(event) { onsubmit: function(event) {
deletefolder.form_submit(); deletefolder.form_submit();
Event.stop(event); Event.stop(event);
} return false;
}
} }
}); });
Element.hide('Form_DeleteItemsForm'); Element.hide('Form_DeleteItemsForm');