Useless "edit" link in workflow menu
|Assignee:||Jean-Philippe Lang||% Done:|
there is a useless link in the topmenu of the workflow section. I can click on "edit" even if I need to choose the "edit" button after some role and tracker selection. This edit button just leads me back on the same page.
#5 Updated by Daniel Felix over 7 years ago
What about deactivating those menu items. Something like grey them out? This would let the menu look the same on each link, but prevent the user from clicking edit if he is already in the edit mode.
Some idea how to use this could be the pointer-events setting in CSS.
There is just one regression: http://caniuse.com/#search=pointer-events
The IE support is not given.
Another idea would be to add this to the active menu item: onclick="return false"
Or just a jQuery function:
Which suggests, that the current menu item get another class.
Maybe this idea is helpful.