diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module index c8fedb4..230a302 100644 --- a/core/modules/locale/locale.module +++ b/core/modules/locale/locale.module @@ -430,7 +430,7 @@ function locale_library_info_alter(&$libraries, $module) { // locale.datepicker.js should be added in the JS_LIBRARY group, so that // this attach behavior will execute early. JS_LIBRARY is the default for // hook_library_info_alter(), thus does not have to be specified explicitly. - $libraries['jquery.ui.datepicker']['dependencies']['js'][] = array('locale', 'locale.datepicker'); + $libraries['jquery.ui.datepicker']['dependencies'][] = array('locale', 'locale.datepicker'); $libraries['jquery.ui.datepicker']['js'][] = array( 'data' => array( 'jquery' => array(