Roo/bootstrap/MessageBar.js
authorEdward <edward@roojs.com>
Wed, 4 Jun 2014 08:49:26 +0000 (16:49 +0800)
committerEdward <edward@roojs.com>
Wed, 4 Jun 2014 08:49:26 +0000 (16:49 +0800)
Roo/bootstrap/MessageBar.js

index 1d4d6f1..d213556 100644 (file)
@@ -94,7 +94,13 @@ Roo.extend(Roo.bootstrap.MessageBar, Roo.bootstrap.Component,  {
     
     update : function()
     {
+        var e = this.el.dom.firstChild;
         
+        if(this.closable){
+            e = e.nextSibling;
+        }
+        
+        e.data = this.html || '';
     }
    
 });