projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14a7499
)
Roo/bootstrap/CheckBox.js
author
Edward
<edward@roojs.com>
Thu, 25 Jun 2015 08:06:39 +0000
(16:06 +0800)
committer
Edward
<edward@roojs.com>
Thu, 25 Jun 2015 08:06:39 +0000
(16:06 +0800)
Roo/bootstrap/CheckBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/CheckBox.js
b/Roo/bootstrap/CheckBox.js
index
26ae989
..
c9d9fa9
100644
(file)
--- a/
Roo/bootstrap/CheckBox.js
+++ b/
Roo/bootstrap/CheckBox.js
@@
-172,13
+172,18
@@
Roo.extend(Roo.bootstrap.CheckBox, Roo.bootstrap.Input, {
};
if(this.boxLabel){
-
cfg.cn.push(
{
+
var boxLabelCfg =
{
tag: 'label',
//'for': id, // box label is handled by onclick - so no for...
cls: 'box-label',
html: this.boxLabel
-
- });
+ }
+
+ if(this.tooltip){
+ boxLabelCfg.tooltip = this.tooltip;
+ }
+
+ cfg.cn.push(boxLabelCfg);
}