Index: trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php |
— | — | @@ -124,7 +124,10 @@ |
125 | 125 | ); |
126 | 126 | $wgResourceModules += array( |
127 | 127 | 'ext.semanticforms.main' => $sfgResourceTemplate + array( |
128 | | - 'scripts' => 'libs/SemanticForms.js', |
| 128 | + 'scripts' => array( |
| 129 | + 'libs/SemanticForms.js', |
| 130 | + 'libs/SF_ajax_form_preview.js', |
| 131 | + ), |
129 | 132 | 'styles' => array( |
130 | 133 | 'skins/SemanticForms.css', |
131 | 134 | 'skins/SF_jquery_ui_overrides.css', |
— | — | @@ -141,9 +144,6 @@ |
142 | 145 | 'ext.semanticforms.autogrow' => $sfgResourceTemplate + array( |
143 | 146 | 'scripts' => 'libs/SF_autogrow.js', |
144 | 147 | ), |
145 | | - 'ext.semanticforms.preview' => $sfgResourceTemplate + array( |
146 | | - 'scripts' => 'libs/SF_ajax_form_preview.js', |
147 | | - ), |
148 | 148 | ); |
149 | 149 | } |
150 | 150 | |
Index: trunk/extensions/SemanticForms/includes/SF_Utils.php |
— | — | @@ -178,7 +178,6 @@ |
179 | 179 | $wgOut->addModules( 'ext.semanticforms.main' ); |
180 | 180 | $wgOut->addModules( 'ext.semanticforms.fancybox' ); |
181 | 181 | $wgOut->addModules( 'ext.semanticforms.autogrow' ); |
182 | | - $wgOut->addModules( 'ext.semanticforms.preview' ); |
183 | 182 | $wgOut->addModules( 'ext.smw.tooltips' ); |
184 | 183 | $wgOut->addModules( 'ext.smw.sorttable' ); |
185 | 184 | } |