Skip to content

Commit

Permalink
BUGFIX: SSF-168 fixing rendering issue in Chrome, which displays extr…
Browse files Browse the repository at this point in the history
…a control at the bottom of the window in a report that is of a certain length
  • Loading branch information
Julian Seidenberg committed Apr 5, 2012
1 parent e43d0b4 commit 68aa59b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/controllers/ReportAdmin.php
Expand Up @@ -128,6 +128,13 @@ function providePermissions() {
);
}

/**
* 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) {
$fields = new FieldList();

Expand Down

0 comments on commit 68aa59b

Please sign in to comment.