projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bd2e73
)
Roo/bootstrap/RadioSet.js
author
edward
<edward@roojs.com>
Mon, 20 Nov 2017 03:29:40 +0000
(11:29 +0800)
committer
edward
<edward@roojs.com>
Mon, 20 Nov 2017 03:29:40 +0000
(11:29 +0800)
Roo/bootstrap/RadioSet.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/RadioSet.js
b/Roo/bootstrap/RadioSet.js
index
ede0a0b
..
f4d628f
100644
(file)
--- a/
Roo/bootstrap/RadioSet.js
+++ b/
Roo/bootstrap/RadioSet.js
@@
-123,6
+123,11
@@
Roo.extend(Roo.bootstrap.RadioSet, Roo.bootstrap.Input, {
initEvents : function()
{
this.labelEl = this.el.select('.roo-radio-set-label', true).first();
+ this.labelEl.setVisibilityMode(Roo.Element.DISPLAY);
+
+ if(!this.fieldLabel.length){
+ this.labelEl.hide();
+ }
this.itemsEl = this.el.select('.roo-radio-set-items', true).first();
this.itemsEl.setVisibilityMode(Roo.Element.DISPLAY);