mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Moved EditorToolbar() from CMSMain to LeftAndMain (as we don't support loading link forms via ajax)
This commit is contained in:
parent
a4494d4775
commit
f8d1523823
@ -63,7 +63,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
Requirements::combine_files(
|
Requirements::combine_files(
|
||||||
'cmsmain.js',
|
'cmsmain.js',
|
||||||
array(
|
array(
|
||||||
CMS_DIR . '/javascript/ThumbnailStripField.js',
|
// CMS_DIR . '/javascript/ThumbnailStripField.js',
|
||||||
CMS_DIR . '/javascript/CMSMain.js',
|
CMS_DIR . '/javascript/CMSMain.js',
|
||||||
CMS_DIR . '/javascript/CMSMain.EditForm.js',
|
CMS_DIR . '/javascript/CMSMain.EditForm.js',
|
||||||
CMS_DIR . '/javascript/CMSMain.AddForm.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
|
* @return Array
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user