projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1568f4
)
Roo/bootstrap/Input.js
author
Alan Knowles
<alan@roojs.com>
Wed, 9 May 2018 06:39:59 +0000
(14:39 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 May 2018 06:39:59 +0000
(14:39 +0800)
Roo/bootstrap/Input.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Input.js
b/Roo/bootstrap/Input.js
index
bc59dca
..
fdbbc9e
100644
(file)
--- a/
Roo/bootstrap/Input.js
+++ b/
Roo/bootstrap/Input.js
@@
-1019,6
+1019,12
@@
Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, {
this.fieldLabel = v;
if(this.indicator){
+ var ar = this.el.select('label > span',true);
+ if (!ar) {
+ Roo.log("could not find label > span on element");
+ Roo.log(this);
+ return;
+ }
this.el.select('label > span',true).first().dom.innerHTML = (v === null || v === undefined ? '' : v);
return;
}