Index: trunk/extensions/SemanticForms/includes/SF_Utils.php |
— | — | @@ -119,6 +119,10 @@ |
120 | 120 | 'skins/SemanticForms.css', |
121 | 121 | 'skins/SF_jquery_ui_overrides.css', |
122 | 122 | ), |
| 123 | + 'dependencies' => array( |
| 124 | + 'jquery.ui.autocomplete', |
| 125 | + 'jquery.ui.button' |
| 126 | + ), |
123 | 127 | ), $localpath, $remotepath |
124 | 128 | ), |
125 | 129 | 'ext.semanticforms.fancybox' => new ResourceLoaderFileModule( |
— | — | @@ -144,9 +148,6 @@ |
145 | 149 | */ |
146 | 150 | static function loadJavascriptAndCSS() { |
147 | 151 | global $wgOut; |
148 | | - $wgOut->addModules( 'jquery' ); |
149 | | - $wgOut->addModules( 'jquery.ui.autocomplete' ); |
150 | | - $wgOut->addModules( 'jquery.ui.button' ); |
151 | 152 | $wgOut->addModules( 'ext.semanticforms.main' ); |
152 | 153 | $wgOut->addModules( 'ext.semanticforms.fancybox' ); |
153 | 154 | $wgOut->addModules( 'ext.semanticforms.autogrow' ); |