projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cd7eae
)
Roo/bootstrap/Input.js
author
john
<john@roojs.com>
Fri, 18 May 2018 04:09:09 +0000
(12:09 +0800)
committer
john
<john@roojs.com>
Fri, 18 May 2018 04:09:09 +0000
(12:09 +0800)
Roo/bootstrap/Input.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Input.js
b/Roo/bootstrap/Input.js
index
073ec16
..
58beb68
100644
(file)
--- a/
Roo/bootstrap/Input.js
+++ b/
Roo/bootstrap/Input.js
@@
-1016,8
+1016,6
@@
Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, {
return;
}
-
-
if(this.indicator){
var ar = this.el.select('label > span',true);
@@
-1036,8
+1034,12
@@
Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, {
}
Roo.log('Cannot Found any of label > span || label in input');
+ return;
}
+ this.el.select('label',true).first().dom.innerHTML = (v === null || v === undefined ? '' : v);
+ this.fieldLabel = v;
+
}
});