summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
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/comment/comment.module
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/comment/comment.module')
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index aa7f2ad47..96b399b77 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1852,7 +1852,7 @@ function comment_form($form, &$form_state, $comment) {
$is_admin = (!empty($comment->cid) && user_access('administer comments'));
if (!$user->uid && $anonymous_contact != COMMENT_ANONYMOUS_MAYNOT_CONTACT) {
- $form['#attached']['library'][] = array('system', 'cookie');
+ $form['#attached']['library'][] = array('system', 'jquery.cookie');
$form['#attributes']['class'][] = 'user-info-from-cookie';
}