From 2934a3d9bd001fc746456696a818f36f40ed75c7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 20 May 2007 12:34:48 +0000 Subject: - Patch #144859 by dww: added optional e-mail notifications when user are approved, blocked, or deleted. --- modules/comment/comment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/comment.js') diff --git a/modules/comment/comment.js b/modules/comment/comment.js index f419a6f0d..96ecbaf5d 100644 --- a/modules/comment/comment.js +++ b/modules/comment/comment.js @@ -26,7 +26,7 @@ Drupal.comment.getCookie = function(name) { if (end == -1) { end = document.cookie.length; } - returnValue = unescape(document.cookie.substring(offset, end)); + returnValue = decodeURIComponent(document.cookie.substring(offset, end).replace(/\+/g, '%20')); } } -- cgit v1.2.3