Instead of using the property disabled
, use the set
method instead:
dijit.byId('Popup_Cut').set("disabled",true);
Had the same problem, and this worked for me.
More info on set
:
http://dojotoolkit.org/reference-guide/1.8/dijit/info.html#set-and-get