projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
81a749d
)
Roo/bootstrap/Popover.js
author
Alan Knowles
<alan@roojs.com>
Thu, 28 Jan 2021 08:13:19 +0000
(16:13 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 28 Jan 2021 08:13:19 +0000
(16:13 +0800)
Roo/bootstrap/Popover.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Popover.js
b/Roo/bootstrap/Popover.js
index
8795b8a
..
1f6cf7b
100644
(file)
--- a/
Roo/bootstrap/Popover.js
+++ b/
Roo/bootstrap/Popover.js
@@
-61,16
+61,19
@@
Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, {
can_build_overlaid : false,
maskEl : false, // the mask element
can_build_overlaid : false,
maskEl : false, // the mask element
+ headerEl : false,
+ contentEl : false,
+
getChildContainer : function()
{
return this.contentEl;
getChildContainer : function()
{
return this.contentEl;
- return this.el.select('.popover-content',true).first();
+
},
getPopoverHeader : function()
{
return this.headerEl
},
getPopoverHeader : function()
{
return this.headerEl
- }
+ }
,
getAutoCreate : function(){
getAutoCreate : function(){
@@
-109,7
+112,7
@@
Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, {
{
this.title = str;
if (this.el) {
{
this.title = str;
if (this.el) {
- this.
el.select('.popover-title',true).first()
.dom.innerHTML = str;
+ this.
headerEl
.dom.innerHTML = str;
}
},
}
},