summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-08-31 23:31:25 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-08-31 23:31:25 +0000
commit7fd9aa5c8af5c2f20921c7096ad07f72da7bf7f8 (patch)
treefe0b9b598b2df1ce6735668a8d41623eaaaff0e2 /includes/common.inc
parent291c7b8bb1a0ad6166f88d79c183973683adf183 (diff)
downloadbrdo-7fd9aa5c8af5c2f20921c7096ad07f72da7bf7f8.tar.gz
brdo-7fd9aa5c8af5c2f20921c7096ad07f72da7bf7f8.tar.bz2
#69786: jQuery JavaScript Library in Drupal core
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 90c620c63..73839d2d3 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -1369,7 +1369,8 @@ function drupal_add_js($data = NULL, $type = 'module', $scope = 'header', $defer
$javascript[$scope] = array('core' => array(), 'module' => array(), 'theme' => array(), 'setting' => array(), 'inline' => array());
if (empty($javascript['header']['core']['misc/drupal.js'])) {
- drupal_add_js('misc/drupal.js', 'core');
+ drupal_add_js('misc/jquery.js', 'core', 'header', FALSE, $cache);
+ drupal_add_js('misc/drupal.js', 'core', 'header', FALSE, $cache);
}
}