summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BMO/web/js/edituser_menu.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BMO/web/js/edituser_menu.js b/extensions/BMO/web/js/edituser_menu.js
index 392857ab8..0b6fed5f8 100644
--- a/extensions/BMO/web/js/edituser_menu.js
+++ b/extensions/BMO/web/js/edituser_menu.js
@@ -18,8 +18,8 @@ function show_admin_usermenu(event, id, email) {
'page.cgi?id=user_activity.html&action=run' +
'&from=' + YAHOO.util.Date.format(new Date(new Date() - (1000 * 60 * 60 * 24 * 14)), {format: '%Y-%m-%d'}) +
'&to=' + YAHOO.util.Date.format(new Date(), {format: '%Y-%m-%d'}) +
- '&who=' + escape(email));
- admin_usermenu.getItem(2).cfg.setProperty('url', 'mailto:' + escape(email));
+ '&who=' + encodeURIComponent(email));
+ admin_usermenu.getItem(2).cfg.setProperty('url', 'mailto:' + encodeURIComponent(email));
admin_usermenu.cfg.setProperty('xy', YAHOO.util.Event.getXY(event));
admin_usermenu.show();
}