diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-11-30 17:16:37 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-11-30 17:16:37 +0000 |
commit | b1177ba603e3fe62c568a9a236cc371aefafc2dc (patch) | |
tree | 89f4d9f843eb500c6754edc1e8cd5358da2695e5 /modules/contact | |
parent | 732b57d10d0b344510e35d6223f36eecf62c0821 (diff) | |
download | brdo-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/contact')
-rw-r--r-- | modules/contact/contact.pages.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/contact/contact.pages.inc b/modules/contact/contact.pages.inc index 50156f3f7..662896b1b 100644 --- a/modules/contact/contact.pages.inc +++ b/modules/contact/contact.pages.inc @@ -57,7 +57,7 @@ function contact_site_form($form, &$form_state) { } if (!$user->uid) { - $form['#attached']['library'][] = array('system', 'cookie'); + $form['#attached']['library'][] = array('system', 'jquery.cookie'); $form['#attributes']['class'][] = 'user-info-from-cookie'; } @@ -187,7 +187,7 @@ function contact_personal_form($form, &$form_state, $recipient) { drupal_set_title(t('Contact @username', array('@username' => format_username($recipient))), PASS_THROUGH); if (!$user->uid) { - $form['#attached']['library'][] = array('system', 'cookie'); + $form['#attached']['library'][] = array('system', 'jquery.cookie'); $form['#attributes']['class'][] = 'user-info-from-cookie'; } |