Login Register

dijit Menu

DOM Node clicked to open dijit.Menu

I just had to hack a bit of code in dijit.Menu.js to make it record the DOM node clicked by the user to open the Menu, so I thought it could be nice if Dojo had this functionality included in next revisions.

All I changed were 2 lines, that I added to function _openMyself, circa lines 239 and 245:

Syndicate content