summaryrefslogtreecommitdiff
path: root/modules/update
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-15 12:28:13 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-15 12:28:13 +0000
commit2f6ba3399c6c24cdcbc369edf154b83ddca4fd60 (patch)
treed58b5e6c0c5dc7e70ee0b2149f835ad022d7d2d6 /modules/update
parent10c33f3c3a178061c9eb2238d8ed01671228b90d (diff)
downloadbrdo-2f6ba3399c6c24cdcbc369edf154b83ddca4fd60.tar.gz
brdo-2f6ba3399c6c24cdcbc369edf154b83ddca4fd60.tar.bz2
- Patch #761208 by aspilicious: bad reference to jquery ui 1.8 in core.
Diffstat (limited to 'modules/update')
-rw-r--r--modules/update/update.manager.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/update/update.manager.inc b/modules/update/update.manager.inc
index 595c64222..415a4c3a7 100644
--- a/modules/update/update.manager.inc
+++ b/modules/update/update.manager.inc
@@ -66,10 +66,7 @@ function update_manager_update_form($form, $form_state = array(), $context) {
return $form;
}
- drupal_add_css('misc/ui/ui.all.css');
- drupal_add_css('misc/ui/ui.dialog.css');
- drupal_add_js('misc/ui/ui.core.js', array('weight' => JS_LIBRARY + 5));
- drupal_add_js('misc/ui/ui.dialog.js', array('weight' => JS_LIBRARY + 6));
+ $form['#attached']['library'][] = array('system', 'ui.dialog');
$form['#attached']['js'][] = drupal_get_path('module', 'update') . '/update.manager.js';
$form['#attached']['css'][] = drupal_get_path('module', 'update') . '/update.css';