From c41ec784f91fb5d407c36afcaad168b1eac47898 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 3 Jul 2012 13:15:22 +1000 Subject: [PATCH] Depend on ext.wikiEditor.toolbar Depend on ext.wikiEditor.toolbar instead of just ext.wikiEditor since both are needed, and under certain circumstances the module would try to initialise before the toolbar component was loaded. Change-Id: Ie6a725513399815670ff0d24fa394c0b3b3a2a7e --- CodeEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeEditor.php b/CodeEditor.php index 9aef4de7..5ab5ecc7 100644 --- a/CodeEditor.php +++ b/CodeEditor.php @@ -35,7 +35,7 @@ $tpl = array( $wgResourceModules['ext.codeEditor'] = array( 'scripts' => 'ext.codeEditor.js', 'dependencies' => array( - 'ext.wikiEditor', + 'ext.wikiEditor.toolbar', 'jquery.codeEditor' ), ) + $tpl;