Index: trunk/extensions/Contest/Contest.php |
— | — | @@ -225,12 +225,17 @@ |
226 | 226 | |
227 | 227 | $wgResourceModules['contest.special.submission'] = $moduleTemplate + array( |
228 | 228 | 'scripts' => array( |
229 | | - 'jquery.contestSubmission.js', |
230 | 229 | 'contest.special.submission.js', |
231 | 230 | ), |
232 | 231 | 'dependencies' => array( |
233 | | - 'jquery.ui.button' |
| 232 | + 'jquery.ui.button', 'jquery.contestSubmission', |
234 | 233 | ), |
| 234 | +); |
| 235 | + |
| 236 | +$wgResourceModules['jquery.contestSubmission'] = $moduleTemplate + array( |
| 237 | + 'scripts' => array( |
| 238 | + 'jquery.contestSubmission.js', |
| 239 | + ), |
235 | 240 | 'messages' => array( |
236 | 241 | 'contest-submission-new-submission', |
237 | 242 | 'contest-submission-current-submission', |