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

index 6ae933d..b9e3c95 100644 (file)
@@ -87,6 +87,8 @@ Roo.extend(Roo.bootstrap.MessageBar, Roo.bootstrap.Component,  {
             navbar_fixed_top.setStyle('margin-top', this.el.getHeight() + 'px');
         }
         
+        this.fireEvent('show', this);
+        
     },
     
     hide : function()
@@ -100,6 +102,13 @@ Roo.extend(Roo.bootstrap.MessageBar, Roo.bootstrap.Component,  {
         if(navbar_fixed_top != null){
             navbar_fixed_top.setStyle('margin-top', '0px');
         }
+        
+        this.fireEvent('hide', this);
+    },
+    
+    update : function()
+    {
+        
     }
    
 });