projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ab54638
)
Roo/bootstrap/Popover.js
author
Alan Knowles
<alan@roojs.com>
Thu, 11 Feb 2021 03:51:38 +0000
(11:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 11 Feb 2021 03:51:38 +0000
(11:51 +0800)
Roo/bootstrap/Popover.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Popover.js
b/Roo/bootstrap/Popover.js
index
4674786
..
00d3d3b
100644
(file)
--- a/
Roo/bootstrap/Popover.js
+++ b/
Roo/bootstrap/Popover.js
@@
-339,15
+339,15
@@
Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, {
* fire this manually after loading a grid in the table for example
*
*/
- updatePosition : function()
+ updatePosition : function(
placement
)
{
this.el.addClass(placement + ' roo-popover-' + placement);
- if (!this.alignEl
|| !this.alignment
) {
+ if (!this.alignEl ) {
return;
}
-
+ switch ()
this.el.alignTo(this.alignEl , this.alignment[0],this.alignment[1]);