Hi,
I'm trying to hide the 'Create Issue' submenu from the main menu 'Issues' (our users have custom webitems to create pre-configured issues, and I need to hide the standard menus).
I tried to call "AJS.$('.create-issue').hide();" but later I noticed that the menu is generated dynamically, in result of the rest call "/jira/rest/api/1.0/menus/find_link?inAdminMode=false&_=1378287576103".
Are there any events in Jira that I could catch and hide that menu? I already tried with JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(){})" but that doesn't seem to work...
Ok sorry... this is trivial using css... wondering what I was thinking to try doing it with js...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.