X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-all.js;fp=roojs-all.js;h=439fe1c2c59ef6694a976de78c2349595182b3e4;hb=e03d7b1d8fa731f8f94e12dae4ae59f63d7e72d4;hp=d6ff716bcd02b28790d5bb4b52508cc7cd7c6d62;hpb=ed2718a254a158759e5790fa72cd788a9f811e79;p=roojs1 diff --git a/roojs-all.js b/roojs-all.js index d6ff716bcd..439fe1c2c5 100644 --- a/roojs-all.js +++ b/roojs-all.js @@ -1852,8 +1852,8 @@ this.el.on('DOMAttrModified',this.setFromHidden,this);this.el.on('propertychange // Roo/form/Radio.js Roo.form.Radio=function(){Roo.form.Radio.superclass.constructor.apply(this,arguments);};Roo.extend(Roo.form.Radio,Roo.form.Checkbox,{inputType:'radio',getGroupValue:function(){return this.el.up('form').child('input[name='+this.el.dom.name+']:checked',true).value; },onRender:function(ct,A){Roo.form.Checkbox.superclass.onRender.call(this,ct,A);if(this.inputValue!==undefined){this.el.dom.value=this.inputValue;}this.wrap=this.el.wrap({cls:"x-form-check-wrap"});if(this.boxLabel){this.wrap.createChild({tag:'label',htmlFor:this.el.id,cls:'x-form-cb-label',html:this.boxLabel} -);}if(this.checked){this.el.dom.checked='checked';}},setValue:function(v,A){this.setChecked(String(v)===String(this.inputValue),A);this.inSetChecked=true;this.el.dom.form[this.name]=v;this.inSetChecked=false;},setChecked:function(A,B){if(this.inSetChecked){this.checked=A; -return;}if(this.wrap){this.wrap[A?'addClass':'removeClass']('x-menu-item-checked');}this.checked=A;if(B!==true){this.fireEvent('check',this,A);}}}); +);}if(this.checked){this.el.dom.checked='checked';}},setValue:function(v,A){this.setChecked(String(v)===String(this.inputValue),A);this.el.dom.form[this.name]=v;},setChecked:function(A,B){if(this.wrap){this.wrap[A?'addClass':'removeClass']('x-menu-item-checked'); +}this.checked=A;if(B!==true){this.fireEvent('check',this,A);}}}); // Roo/rtf/namespace.js Roo.rtf={}; // Roo/rtf/Hex.js