MINOR Removing special TinyMCE case in LeftAndMain->doAdd(), feature has been removed

This commit is contained in:
Ingo Schommer 2012-03-08 17:24:41 +01:00
parent ee2b220780
commit 174cf08c75

View File

@ -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 {