Skip to content
This repository
Browse code

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
Julian Seidenberg authored April 05, 2012

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. 7  code/controllers/ReportAdmin.php
7  code/controllers/ReportAdmin.php
@@ -128,6 +128,13 @@ function providePermissions() {
128 128
 		);
129 129
 	}
130 130
 
  131
+	/**
  132
+	 * Reports don't need an editor toolbar. This empty method is necessary, otherwise the report page thinks it is
  133
+	 * a SiteTree page and returns unnecessary controls in a cms-editor-dialogs div
  134
+	 */
  135
+	public function EditorToolbar() {
  136
+	}
  137
+
131 138
 	public function getEditForm($id = null, $fields = null) {
132 139
 		$fields = new FieldList();
133 140
 		

0 notes on commit 68aa59b

Please sign in to comment.
Something went wrong with that request. Please try again.