summaryrefslogtreecommitdiff
path: root/modules/openid
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-11-30 17:16:37 +0000
committerDries Buytaert <dries@buytaert.net>2010-11-30 17:16:37 +0000
commitb1177ba603e3fe62c568a9a236cc371aefafc2dc (patch)
tree89f4d9f843eb500c6754edc1e8cd5358da2695e5 /modules/openid
parent732b57d10d0b344510e35d6223f36eecf62c0821 (diff)
downloadbrdo-b1177ba603e3fe62c568a9a236cc371aefafc2dc.tar.gz
brdo-b1177ba603e3fe62c568a9a236cc371aefafc2dc.tar.bz2
- Patch #954804 by ksenzee, merlinofchaos: all .js in /misc should be registered as a library.
Diffstat (limited to 'modules/openid')
-rw-r--r--modules/openid/openid.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openid/openid.module b/modules/openid/openid.module
index 3e1b2c96b..0ab7c7065 100644
--- a/modules/openid/openid.module
+++ b/modules/openid/openid.module
@@ -137,7 +137,7 @@ function openid_form_user_login_alter(&$form, &$form_state) {
function _openid_user_login_form_alter(&$form, &$form_state) {
$form['#attached']['css'][] = drupal_get_path('module', 'openid') . '/openid.css';
$form['#attached']['js'][] = drupal_get_path('module', 'openid') . '/openid.js';
- $form['#attached']['library'][] = array('system', 'cookie');
+ $form['#attached']['library'][] = array('system', 'jquery.cookie');
if (!empty($form_state['input']['openid_identifier'])) {
$form['name']['#required'] = FALSE;
$form['pass']['#required'] = FALSE;