Index: trunk/extensions/SemanticFormsInputs/includes/SFI_DatePicker.php |
— | — | @@ -64,7 +64,7 @@ |
65 | 65 | * @return null|string|array |
66 | 66 | */ |
67 | 67 | public function getResourceModuleNames() { |
68 | | - return 'ext.semanticformsinputs.datepicker'; |
| 68 | + return array( 'jquery.ui.datepicker', 'ext.semanticformsinputs.datepicker' ); |
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
— | — | @@ -82,7 +82,7 @@ |
83 | 83 | |
84 | 84 | // set localized messages (use MW i18n, not jQuery i18n) |
85 | 85 | $jstext = |
86 | | - "mw.loader.using('ext.semanticformsinputs.datepicker', function(){\n" |
| 86 | + "mw.loader.using('jquery.ui.datepicker', function(){\n" |
87 | 87 | . " jQuery.datepicker.regional['wiki'] = {\n" |
88 | 88 | . " closeText: '" . Xml::escapeJsString( wfMsg( 'semanticformsinputs-close' ) ) . "',\n" |
89 | 89 | . " prevText: '" . Xml::escapeJsString( wfMsg( 'semanticformsinputs-prev' ) ) . "',\n" |