projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb1236f
)
Roo/bootstrap/Input.js
author
john
<john@roojs.com>
Fri, 18 May 2018 04:03:36 +0000
(12:03 +0800)
committer
john
<john@roojs.com>
Fri, 18 May 2018 04:03:36 +0000
(12:03 +0800)
Roo/bootstrap/Input.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Input.js
b/Roo/bootstrap/Input.js
index
31b5c5a
..
e9316fc
100644
(file)
--- a/
Roo/bootstrap/Input.js
+++ b/
Roo/bootstrap/Input.js
@@
-1021,6
+1021,12
@@
Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, {
if(this.indicator){
var ar = this.el.select('label > span',true);
if (!ar.elements.length) {
+ $br = this.el.select('label');
+ if(!br.elements.length) {
+ Roo.log("could not find label element");
+ Roo.log(this);
+ return;
+ }
Roo.log("could not find label > span on element");
Roo.log(this);
return;