Changed Roo/bootstrap/Popover.js
authorAlan Knowles <alan@roojs.com>
Wed, 27 Jan 2021 08:45:41 +0000 (16:45 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 27 Jan 2021 08:45:41 +0000 (16:45 +0800)
Roo/bootstrap/Popover.js

index da35540..5b103e5 100644 (file)
@@ -200,6 +200,10 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
             on_el= (this.over == 'parent') ? this.parent().el : Roo.get(this.over);
         }
         
+        if (!this.el) {
+            this.render();
+        }
+        
         // set content.
         this.el.select('.popover-title',true).first().dom.innerHtml = this.title;
         if (this.html !== false) {