]> git.wh0rd.org - tt-rss.git/blobdiff - lib/dijit/form/_CheckBoxMixin.js
lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
[tt-rss.git] / lib / dijit / form / _CheckBoxMixin.js
index 6d1cb635b3d65f3af74c238d8818b6ed45375c87..b130c1fd4c8298d3b4b7e486b84668efe82e57f0 100644 (file)
@@ -1,2 +1,2 @@
 //>>built
-define("dijit/form/_CheckBoxMixin",["dojo/_base/declare","dojo/dom-attr","dojo/_base/event"],function(_1,_2,_3){return _1("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_4){this._set("readOnly",_4);_2.set(this.focusNode,"readOnly",_4);},_setLabelAttr:undefined,_getSubmitValue:function(_5){return !_5&&_5!==0?"on":_5;},_setValueAttr:function(_6){_6=this._getSubmitValue(_6);this._set("value",_6);_2.set(this.focusNode,"value",_6);},reset:function(){this.inherited(arguments);this._set("value",this.params.value||"on");_2.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){_3.stop(e);return false;}return this.inherited(arguments);}});});
\ No newline at end of file
+define("dijit/form/_CheckBoxMixin",["dojo/_base/declare","dojo/dom-attr"],function(_1,_2){return _1("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_3){this._set("readOnly",_3);_2.set(this.focusNode,"readOnly",_3);},_setLabelAttr:undefined,_getSubmitValue:function(_4){return (_4==null||_4==="")?"on":_4;},_setValueAttr:function(_5){_5=this._getSubmitValue(_5);this._set("value",_5);_2.set(this.focusNode,"value",_5);},reset:function(){this.inherited(arguments);this._set("value",this._getSubmitValue(this.params.value));_2.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){e.stopPropagation();e.preventDefault();return false;}return this.inherited(arguments);}});});
\ No newline at end of file