projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feb4151
)
Roo/bootstrap/Popover.js
author
Alan Knowles
<alan@roojs.com>
Thu, 20 Feb 2014 07:15:33 +0000
(15:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 20 Feb 2014 07:15:33 +0000
(15:15 +0800)
Roo/bootstrap/Popover.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Popover.js
b/Roo/bootstrap/Popover.js
index
d310162
..
4577929
100644
(file)
--- a/
Roo/bootstrap/Popover.js
+++ b/
Roo/bootstrap/Popover.js
@@
-79,8
+79,17
@@
Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, {
}
this.el = Roo.get(document.body).createChild(cfg, position);
}
- this.initEvents();
+ this.initEvents();
+ },
+ function show(el)
+ {
+ if (!el) {
+ el = (this.over == 'parent' ? this.parent().el : Roo.get(this.over);
+ }
}
+
+
+
});