From 173cf5e3efb836eb0e2ecffc9c87ebe82304cbe5 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 3 Jan 2012 22:01:20 +0800 Subject: bug 714759: fix IE js syntax error --- template/en/default/global/user.html.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/global/user.html.tmpl b/template/en/default/global/user.html.tmpl index a6be5eee9..50014bb29 100644 --- a/template/en/default/global/user.html.tmpl +++ b/template/en/default/global/user.html.tmpl @@ -27,8 +27,8 @@ [% FILTER collapse %] [% IF user.id %] 0 %] - onclick="show_admin_username(event, [% who.id FILTER none %], '[% who.email FILTER js %]'); return false" + [% IF who.id && (user.in_group('editusers') || user.bless_groups.size > 0) %] + onclick="show_admin_usermenu(event, [% who.id FILTER none %], '[% who.email FILTER js %]'); return false" [% END %] title="[% who.identity FILTER html %]"> [%- END -%] -- cgit v1.2.3-24-g4f1b