Roo/bootstrap/Popover.js
authoredward <edward@roojs.com>
Thu, 28 Jan 2016 03:59:12 +0000 (11:59 +0800)
committeredward <edward@roojs.com>
Thu, 28 Jan 2016 03:59:12 +0000 (11:59 +0800)
Roo/bootstrap/Popover.js

index 52084e4..383ff87 100644 (file)
@@ -75,10 +75,12 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
     },
     setTitle: function(str)
     {
+        this.title = str;
         this.el.select('.popover-title',true).first().dom.innerHTML = str;
     },
     setContent: function(str)
     {
+        this.html = str;
         this.el.select('.popover-content',true).first().dom.innerHTML = str;
     },
     // as it get's added to the bottom of the page.