dirtychange event not working when treelist make a change to unselect everything .
There is a treelist and submit button in my panel.
if it selected more than one in treelist,I uncheck one of the checkbox,it will enable the button。
But,When only one of the checkbox is selected in treelist, I uncheck it now,the button still disable.
code:
dirtychange: function(form, dirty, eOpts){
if(dirty){
Ext.ComponentManager.get('cmp-usrSubmit').setDisabled(false);
}else{
Ext.ComponentManager.get('cmp-usrSubmit').setDisabled(true);

}