Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX: SSF-168 fixing rendering issue in Chrome, which displays extr…

…a control at the bottom of the window in a report that is of a certain length
  • Loading branch information...
commit 68aa59b25e443382ad65c2a67523a7a9686490d4 1 parent e43d0b4
@candidasa candidasa authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 code/controllers/ReportAdmin.php
View
7 code/controllers/ReportAdmin.php
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.