summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-08-05 20:26:29 +0200
committerByron Jones <bjones@mozilla.com>2013-08-05 20:26:29 +0200
commitae2a7b71cdb31e1d48656c148440ca9f46c0019b (patch)
treeadf364b496553f9f402760e4d47cdf08c7c7b40b /extensions/BMO
parent2a5246b4d54811b2094c5e64646db207f7d204c7 (diff)
downloadbugzilla-ae2a7b71cdb31e1d48656c148440ca9f46c0019b.tar.gz
bugzilla-ae2a7b71cdb31e1d48656c148440ca9f46c0019b.tar.xz
Hide "profile" option from user menu
Diffstat (limited to 'extensions/BMO')
-rw-r--r--extensions/BMO/web/js/edituser_menu.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/BMO/web/js/edituser_menu.js b/extensions/BMO/web/js/edituser_menu.js
index 383418430..a9baab536 100644
--- a/extensions/BMO/web/js/edituser_menu.js
+++ b/extensions/BMO/web/js/edituser_menu.js
@@ -26,6 +26,8 @@ function show_usermenu(event, id, email, show_edit) {
} else {
usermenu_widget.removeItem(3);
}
+ // hide user-profile menu for now
+ usermenu_widget.removeItem(0);
usermenu_widget.cfg.setProperty('xy', YAHOO.util.Event.getXY(event));
usermenu_widget.show();
return false;