Opened 10 years ago

Closed 9 years ago

#10191 closed enhancement (invalid)

PopupMenuBarItem

Reported by: Jean-Pascal Laux Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

I would like to request a little enhancement with menus. If I create a MenuItem with state disabled (or change its state to disabled), the display is correct but given no special event exists for click except the standard onClick event, I have to test the menuitem state in the onClick handler.

It should be nice to have a special event (onItemClick for example) that does this work

Change History (3)

comment:1 Changed 10 years ago by bill

Description: modified (diff)

I don't understand your request. The summary is PopupMenuBarItem, but the description talks about plain MenuItem. Which is it?

Clicks on disabled items are already ignored. See the "Disabled Submenu" in the side menu and "Disabled" in the MenuBar in test_Menu.html. Is that not working for you? Or do you want something else?

Also, for all tickets, please list an actual summary in the summary field, not just one word.

comment:2 Changed 10 years ago by bill

(In [20637]) Test to confirm that clicking a disabled menu item has no effect, refs #10191.

comment:3 Changed 9 years ago by bill

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.