Roo/bootstrap/Table.js
authorEdward <edward@roojs.com>
Fri, 11 Jul 2014 10:04:09 +0000 (18:04 +0800)
committerEdward <edward@roojs.com>
Fri, 11 Jul 2014 10:04:09 +0000 (18:04 +0800)
Roo/bootstrap/Table.js

index 97b0bc8..75dd6bd 100644 (file)
@@ -289,14 +289,14 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
         var cm = this.cm;
         
         Roo.each(this.el.select('thead th.sortable', true).elements, function(e){
-            e.removeClass(['glyphicon', 'glyphicon-arrow-up', 'glyphicon-arrow-down']);
+            e.removeClass(['icon-arrow-up', 'icon-arrow-down']);
             
             if(e.hasClass('sortable') && e.attr('sort') == _this.store.sortInfo.field && _this.store.sortInfo.direction.toUpperCase() == 'ASC'){
-                e.addClass(['glyphicon', 'glyphicon-arrow-up']);
+                e.addClass('icon-arrow-up');
             }
             
             if(e.hasClass('sortable') && e.attr('sort') == _this.store.sortInfo.field && _this.store.sortInfo.direction.toUpperCase() == 'DESC'){
-                e.addClass(['glyphicon', 'glyphicon-arrow-down']);
+                e.addClass('icon-arrow-down');
             }
         });