MINOR Moved EditorToolbar() from CMSMain to LeftAndMain (as we don't support loading link forms via ajax)

This commit is contained in:
Ingo Schommer 2012-01-03 18:09:33 +01:00
parent a4494d4775
commit f8d1523823

View File

@ -63,7 +63,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
Requirements::combine_files(
'cmsmain.js',
array(
CMS_DIR . '/javascript/ThumbnailStripField.js',
// CMS_DIR . '/javascript/ThumbnailStripField.js',
CMS_DIR . '/javascript/CMSMain.js',
CMS_DIR . '/javascript/CMSMain.EditForm.js',
CMS_DIR . '/javascript/CMSMain.AddForm.js',
@ -844,13 +844,6 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
}
}
/**
* Return the CMS's HTML-editor toolbar
*/
public function EditorToolbar() {
return Object::create('HtmlEditorField_Toolbar', $this, "EditorToolbar");
}
/**
* @return Array
*/