BUGFIX: SSF-168 fixing rendering issue in Chrome, which displays extra control at the bottom of the window in a report that is of a certain length

This commit is contained in:
Julian Seidenberg 2012-04-05 14:48:51 +12:00
parent e43d0b4640
commit 68aa59b25e

View File

@ -128,6 +128,13 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider {
); );
} }
/**
* Reports don't need an editor toolbar. This empty method is necessary, otherwise the report page thinks it is
* a SiteTree page and returns unnecessary controls in a cms-editor-dialogs div
*/
public function EditorToolbar() {
}
public function getEditForm($id = null, $fields = null) { public function getEditForm($id = null, $fields = null) {
$fields = new FieldList(); $fields = new FieldList();