From efae828e6b5f7db1797a4b34c317a5d3b397212d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 28 Jan 2021 13:42:45 +0800 Subject: [PATCH] roojs-bootstrap.js roojs-bootstrap-debug.js --- roojs-bootstrap-debug.js | 6 +++--- roojs-bootstrap.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 93897da4ee..666dc43b69 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -19757,9 +19757,9 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, { initEvents : function() { - if (!this.modal) { - Roo.bootstrap.Popover.register(this); - } + + Roo.bootstrap.Popover.register(this); + this.el.select('.popover-title',true).setVisibilityMode(Roo.Element.DISPLAY); this.el.enableDisplayMode('block'); diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index 2be0515ad3..c3f6b6f28c 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -814,7 +814,7 @@ Roo.bootstrap.Popover=function(A){Roo.bootstrap.Popover.superclass.constructor.c ]}]};return A;},setTitle:function(A){this.title=A;if(this.el){this.el.select('.popover-title',true).first().dom.innerHTML=A;}},setContent:function(A){this.html=A;if(this.el){this.el.select('.popover-content',true).first().dom.innerHTML=A;}},onRender:function(ct,A){Roo.bootstrap.Component.superclass.onRender.call(this,ct,A); if(!this.el){var B=Roo.apply({},this.getAutoCreate());B.id=Roo.id();if(this.cls){B.cls+=' '+this.cls;}if(this.style){B.style=this.style;}this.el=Roo.get(document.body).createChild(B,A);}var C=[];if(typeof(this.items)!='undefined'){var D=this.items;delete this.items; for(var i=0;i