Changes between Initial Version and Version 1 of Ticket #2009
- Timestamp:
- Nov 28, 2006, 1:00:22 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2009 – Description
initial v1 1 1 Disabled context menu's (from a tree context menu in my case - but it does not really matter) won't be grayed out because these items get the class 'undefined': 2 2 3 Menu2.js should read in function setDisabled (currently #526 and #528):4 ----------------- 3 Menu2.js should read in function setDisabled (currently line 526 and line 528): 4 {{{ 5 5 ... 6 6 dojo.html.addClass(this.domNode, this.parent.disabledClass); … … 8 8 dojo.html.removeClass(this.domNode, this.parent.disabledClass); 9 9 ... 10 ----------------- 10 }}} 11 11 12 instead of 12 instead of 13 13 14 ----------------- 14 {{{ 15 15 ... 16 16 dojo.html.addClass(this.domNode, this.disabledClass); … … 18 18 dojo.html.removeClass(this.domNode, this.disabledClass); 19 19 ... 20 ----------------- 20 }}} 21 21 22 22 because the class "disabledClass" is defined in PopupMenu2 and not in MenuItem2.