mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Removed user_error() that broke AssetAdmin to the end user (from r82622)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@89814 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b2fe474fde
commit
760b7eb67c
@ -336,9 +336,7 @@ HTML;
|
||||
FormResponse::status_message($message, "good");
|
||||
FormResponse::add("$('Form_EditForm').getPageFromServer($('Form_EditForm_ID').value)");
|
||||
|
||||
return FormResponse::respond();
|
||||
} else {
|
||||
user_error('Bad data:' . $_REQUEST['DestFolderID'], E_USER_ERROR);
|
||||
return FormResponse::respond();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user