Permalink
Browse files

MINOR Moved EditorToolbar() from CMSMain to LeftAndMain (as we don't …

…support loading link forms via ajax)
  • Loading branch information...
1 parent a4494d4 commit f8d1523823677562109924358488b694ad23b247 @chillu chillu committed Jan 3, 2012
Showing with 1 addition and 8 deletions.
  1. +1 −8 code/controllers/CMSMain.php
@@ -63,7 +63,7 @@ public function init() {
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 @@ public function delete($data, $form) {
}
}
- /**
- * Return the CMS's HTML-editor toolbar
- */
- public function EditorToolbar() {
- return Object::create('HtmlEditorField_Toolbar', $this, "EditorToolbar");
- }
-
/**
* @return Array
*/

0 comments on commit f8d1523

Please sign in to comment.