Closed abesk closed 11 years ago
If you want to change the checkbox toggle order you will have to change the Checkbox toggle() method. Change the following line in CheckBox.toggle():
return this._setCheckedAttr( (curState == 'mixed' ? true : !curState ) );
to:
return this._setCheckedAttr( (curState == 'mixed' ? !curState : true) );
thx
Now, when I click on checkbox with "mixed" state, its and children value change to "true" state. I would like to set oposite. When I click on checkbox with "mixed" state, values will change to "false" state.