summaryrefslogtreecommitdiff
path: root/modules/comment/comment.js
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-05-20 12:34:48 +0000
committerDries Buytaert <dries@buytaert.net>2007-05-20 12:34:48 +0000
commit2934a3d9bd001fc746456696a818f36f40ed75c7 (patch)
treea2f39026a09c70404823a39606d177c89713a622 /modules/comment/comment.js
parentb86d106e0e8e4417cefc0f0318cb2ba108073194 (diff)
downloadbrdo-2934a3d9bd001fc746456696a818f36f40ed75c7.tar.gz
brdo-2934a3d9bd001fc746456696a818f36f40ed75c7.tar.bz2
- Patch #144859 by dww: added optional e-mail notifications when user are approved, blocked, or deleted.
Diffstat (limited to 'modules/comment/comment.js')
-rw-r--r--modules/comment/comment.js2
1 files changed, 1 insertions, 1 deletions
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'));
}
}