Roo/bootstrap/dash/NumberBox.js
authorEdward <edward@roojs.com>
Wed, 3 Dec 2014 06:08:45 +0000 (14:08 +0800)
committerEdward <edward@roojs.com>
Wed, 3 Dec 2014 06:08:45 +0000 (14:08 +0800)
Roo/bootstrap/dash/NumberBox.js

index b5ac9f6..296f457 100644 (file)
@@ -83,11 +83,16 @@ Roo.extend(Roo.bootstrap.dash.NumberBox, Roo.bootstrap.Component,  {
                 cls : 'small-box-footer',
                 href : this.fhref || '#',
                 html : this.footer,
-                cn : []
+                cn : [
+                    {
+                        tag : 'span',
+                        cn : []
+                    }
+                ]
             };
             
             if(this.ficon){
-                footer.cn.push({
+                footer.cn[0].push({
                     tag : 'i',
                     cls : 'fa ' + this.ficon
                 });