roojs-ui-debug.js
roojs-all.js
roojs-debug.js
// 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}
// 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
// Roo/rtf/namespace.js
Roo.rtf={};
// Roo/rtf/Hex.js
// this.el.dom.defaultChecked = this.checked;
//}
this.setChecked(String(v) === String(this.inputValue), suppressEvent);
// this.el.dom.defaultChecked = this.checked;
//}
this.setChecked(String(v) === String(this.inputValue), suppressEvent);
- this.inSetChecked = true;
this.el.dom.form[this.name] = v;
this.el.dom.form[this.name] = v;
- this.inSetChecked = false;
//this.fireEvent("check", this, this.checked);
},
// private..
setChecked : function(state,suppressEvent)
{
//this.fireEvent("check", this, this.checked);
},
// private..
setChecked : function(state,suppressEvent)
{
- if (this.inSetChecked) {
- this.checked = state;
- return;
- }
-
-
if(this.wrap){
this.wrap[state ? 'addClass' : 'removeClass']('x-menu-item-checked');
}
if(this.wrap){
this.wrap[state ? 'addClass' : 'removeClass']('x-menu-item-checked');
}
// this.el.dom.defaultChecked = this.checked;
//}
this.setChecked(String(v) === String(this.inputValue), suppressEvent);
// this.el.dom.defaultChecked = this.checked;
//}
this.setChecked(String(v) === String(this.inputValue), suppressEvent);
- this.inSetChecked = true;
this.el.dom.form[this.name] = v;
this.el.dom.form[this.name] = v;
- this.inSetChecked = false;
//this.fireEvent("check", this, this.checked);
},
// private..
setChecked : function(state,suppressEvent)
{
//this.fireEvent("check", this, this.checked);
},
// private..
setChecked : function(state,suppressEvent)
{
- if (this.inSetChecked) {
- this.checked = state;
- return;
- }
-
-
if(this.wrap){
this.wrap[state ? 'addClass' : 'removeClass']('x-menu-item-checked');
}
if(this.wrap){
this.wrap[state ? 'addClass' : 'removeClass']('x-menu-item-checked');
}
// 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}
// 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
// Roo/rtf/namespace.js
Roo.rtf={};
// Roo/rtf/Hex.js