Roo/bootstrap/dash/NumberBox.js
authorEdward <edward@roojs.com>
Thu, 21 May 2015 06:32:48 +0000 (14:32 +0800)
committerEdward <edward@roojs.com>
Thu, 21 May 2015 06:32:48 +0000 (14:32 +0800)
Roo/bootstrap/dash/NumberBox.js

index f5f698d..6d09e6f 100644 (file)
@@ -10,7 +10,6 @@ Roo.bootstrap.dash = Roo.bootstrap.dash || {};
  * @class Roo.bootstrap.dash.NumberBox
  * @extends Roo.bootstrap.Component
  * Bootstrap NumberBox class
- * @cfg {String} bgcolor Box background color, such as (aqua | green | yellow | red etc..) Default aqua
  * @cfg {String} headline Box headline
  * @cfg {String} content Box content
  * @cfg {String} icon Box icon
@@ -30,7 +29,6 @@ Roo.bootstrap.dash.NumberBox = function(config){
 
 Roo.extend(Roo.bootstrap.dash.NumberBox, Roo.bootstrap.Component,  {
     
-    bgcolor : false,
     headline : '',
     content : '',
     icon : '',
@@ -63,10 +61,6 @@ Roo.extend(Roo.bootstrap.dash.NumberBox, Roo.bootstrap.Component,  {
             ]
         }
         
-        if(this.bgcolor){
-            cfg.cls += "bg-" + this.bgcolor;
-        }
-        
         if(this.icon){
             cfg.cn.push({
                 tag : 'div',