Roo/bootstrap/PaginationItem.js
authorEdward <edward@roojs.com>
Mon, 29 Jun 2015 06:08:42 +0000 (14:08 +0800)
committerEdward <edward@roojs.com>
Mon, 29 Jun 2015 06:08:42 +0000 (14:08 +0800)
Roo/bootstrap/PaginationItem.js

index 8efdb95..027e3fe 100644 (file)
@@ -61,6 +61,10 @@ Roo.extend(Roo.bootstrap.PaginationItem, Roo.bootstrap.Component,  {
             cfg.cls = this.cls;
         }
         
+        if(this.disabled){
+            cfg.cls = typeof(cfg.cls) !== 'undefined' ? cfg.cls + ' disabled' : 'disabled';
+        }
+        
         if(this.active){
             cfg.cls = typeof(cfg.cls) !== 'undefined' ? cfg.cls + ' active' : 'active';
         }