Pman.Tab.PersonList.js
[Pman.Core] / Pman.Tab.PersonList.js
index 6ed72a4..6e6b8c8 100644 (file)
@@ -266,11 +266,12 @@ Pman.Tab.PersonList.prototype = {
                         
                         rec.set('active', rec.data.active ? 0 : 1);
                         rec.commit();
-                        Roo.select('.x-grid-row-selected').item(3).addClass('x-grid-row-fadeout');
-                        (function(){
+
+                        var el = Roo.select('.x-grid-row-selected').item(3);
+                        el.addClass('x-grid-row-fadeout');
+                        el.on('transitionend',function(){
                             _this.grid.ds.remove(rec);
-                        }).defer(5000);
-                        
+                        },this,{single:true});
                         
                     }