From e53716e681a239b64fe084e7bbdc024bfe0bec25 Mon Sep 17 00:00:00 2001 From: Lorenz Schori Date: Wed, 16 Jan 2013 21:25:01 +0100 Subject: [PATCH] Add jquery.cookie library --- authcache.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/authcache.module b/authcache.module index e1acaba..f04c423 100644 --- a/authcache.module +++ b/authcache.module @@ -130,7 +130,8 @@ function authcache_init() { drupal_add_js("document.cookie = 'has_js=1; path=/';", array('scope' => 'header')); } - // Authcache core JS + // Authcache core JS and cookie library + drupal_add_library('system', 'jquery.cookie'); drupal_add_js(drupal_get_path('module', 'authcache') .'/authcache.js'); // Add JS for debug mode? -- 1.7.10.4