X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/docs/source/Radio.html diff --git a/docs/source/Radio.html b/docs/source/Radio.html index 61538020..7eed167b 100644 --- a/docs/source/Radio.html +++ b/docs/source/Radio.html @@ -1,17 +1,12 @@ - - - The source code - - - - -
/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
-
/** + + + + The source code + + + + +
/** * @class Ext.form.Radio * @extends Ext.form.Checkbox * Single radio field. Same as Checkbox, but provided as a convenience for automatically setting the input type. @@ -68,7 +63,7 @@ Ext.form.Radio = Ext.extend(Ext.form.Checkbox, { setValue : function(v){ if (typeof v == 'boolean') { Ext.form.Radio.superclass.setValue.call(this, v); - } else { + } else if (this.rendered) { var r = this.getCheckEl().child('input[name=' + this.el.dom.name + '][value=' + v + ']', true); if(r){ Ext.getCmp(r.id).setValue(true); @@ -76,7 +71,7 @@ Ext.form.Radio = Ext.extend(Ext.form.Checkbox, { } return this; }, - + // private getCheckEl: function(){ if(this.inGroup){ @@ -86,6 +81,6 @@ Ext.form.Radio = Ext.extend(Ext.form.Checkbox, { } }); Ext.reg('radio', Ext.form.Radio); -
- +
+ \ No newline at end of file