From b1177ba603e3fe62c568a9a236cc371aefafc2dc Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 30 Nov 2010 17:16:37 +0000 Subject: - Patch #954804 by ksenzee, merlinofchaos: all .js in /misc should be registered as a library. --- modules/contact/contact.pages.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/contact') 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'; } -- cgit v1.2.3