Roo/bootstrap/Alert.js
authorEdward <edward@roojs.com>
Thu, 11 Jun 2015 02:39:16 +0000 (10:39 +0800)
committerEdward <edward@roojs.com>
Thu, 11 Jun 2015 02:39:16 +0000 (10:39 +0800)
Roo/bootstrap/Alert.js

index c90d8f8..6ddd049 100644 (file)
@@ -38,9 +38,22 @@ Roo.extend(Roo.bootstrap.Alert, Roo.bootstrap.Component,  {
         var cfg = {
             tag : 'div',
             cls : 'alert',
-            cn : []
+            cn : [
+                {
+                    tag : 'b',
+                    cls : 'roo-alert-title',
+                    html : this.title
+                },
+                {
+                    tag : 'span',
+                    cls : 'roo-alert-content',
+                    html : this.html
+                }
+            ]
         };
         
+        
+        
         return cfg;
     },