summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-11-10 05:23:01 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-11-10 05:23:01 +0000
commit0762f6007378a79d53951baf79cf8a5fac7a7489 (patch)
tree091cbb8ca9fb02e0f8c1eae7cc42dfc005b7eb3f /modules/user/user.module
parent9020a9a20130ac2712f2a7406ee34ed9c39064d1 (diff)
downloadbrdo-0762f6007378a79d53951baf79cf8a5fac7a7489.tar.gz
brdo-0762f6007378a79d53951baf79cf8a5fac7a7489.tar.bz2
#315798 by Rob Loach, mfer, Grugnog2, and sun: Add weighting to drupal_add_js().
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 9a42cfc21..84ba50441 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -2160,7 +2160,7 @@ function _user_password_dynamic_validation() {
global $user;
// Only need to do once per page.
if (!$complete) {
- drupal_add_js(drupal_get_path('module', 'user') . '/user.js', 'module');
+ drupal_add_js(drupal_get_path('module', 'user') . '/user.js');
drupal_add_js(array(
'password' => array(