From 7fd9aa5c8af5c2f20921c7096ad07f72da7bf7f8 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 31 Aug 2006 23:31:25 +0000 Subject: #69786: jQuery JavaScript Library in Drupal core --- includes/common.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes') 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); } } -- cgit v1.2.3