Changeset 14086

Show
Ignore:
Timestamp:
06/20/08 10:43:04 (5 months ago)
Author:
toonetown
Message:

Refs #968 - toggling should not happen when item is disabled !strict

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/Menu.js

    r14072 r14086  
    516516        _onClick: function(/*Event*/ e){ 
    517517                // summary: Clicking this item just toggles its state 
    518                 this.setAttribute("checked", !this.checked); 
     518                if(!this.disabled){ 
     519                        this.setAttribute("checked", !this.checked); 
     520                } 
    519521                this.inherited(arguments); 
    520522        },