mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Removing special TinyMCE case in LeftAndMain->doAdd(), feature has been removed
This commit is contained in:
parent
ee2b220780
commit
174cf08c75
@ -1021,10 +1021,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
|
||||
$form->saveInto($record);
|
||||
$record->write();
|
||||
|
||||
// Used in TinyMCE inline folder creation
|
||||
if(isset($data['returnID'])) {
|
||||
return $record->ID;
|
||||
} else if($this->isAjax()) {
|
||||
if($this->isAjax()) {
|
||||
$form = $this->getEditForm($record->ID);
|
||||
return $form->forTemplate();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user