diff options
Diffstat (limited to 'core/modules/locale/locale.module')
-rw-r--r-- | core/modules/locale/locale.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module index f153e93dc38..ce20b598610 100644 --- a/core/modules/locale/locale.module +++ b/core/modules/locale/locale.module @@ -425,14 +425,14 @@ function locale_js_alter(&$javascript) { * Provides the language support for the jQuery UI Date Picker. */ function locale_library_info_alter(&$libraries, $module) { - if ($module == 'system' && isset($libraries['ui.datepicker'])) { + if ($module == 'system' && isset($libraries['jquery.ui.datepicker'])) { $language_interface = drupal_container()->get(LANGUAGE_TYPE_INTERFACE); // 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. $datepicker = drupal_get_path('module', 'locale') . '/locale.datepicker.js'; - $libraries['ui.datepicker']['js'][$datepicker] = array(); - $libraries['ui.datepicker']['js'][] = array( + $libraries['jquery.ui.datepicker']['js'][$datepicker] = array(); + $libraries['jquery.ui.datepicker']['js'][] = array( 'data' => array( 'jquery' => array( 'ui' => array( |