Browse Source

Fall back to the default theme when loading jquery.sceditor.css (fixes #589)

Signed-off-by: Michael Eshom <[email protected]>
Michael Eshom 11 years ago
parent
commit
70054b5d01
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Sources/Subs-Editor.php

+ 2 - 1
Sources/Subs-Editor.php

@@ -1471,7 +1471,8 @@ function create_control_richedit($editorOptions)
 			$context['drafts_autosave_frequency'] = empty($modSettings['drafts_autosave_frequency']) ? 60000 : $modSettings['drafts_autosave_frequency'] * 1000;
 
 		// This really has some WYSIWYG stuff.
-		loadTemplate('GenericControls', 'jquery.sceditor');
+		loadCSSFile('jquery.sceditor', array('force_current' => false));
+		loadTemplate('GenericControls');
 
 		// JS makes the editor go round
 		loadJavascriptFile('editor.js', array('default_theme' => true), 'smf_editor');