From b8bf772cf4d4c8908482b6dd0dd2e854de1a142b Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 9 Mar 2015 15:18:10 +0800 Subject: [PATCH] Pman.Tab.PersonList.js --- Pman.Tab.PersonList.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Pman.Tab.PersonList.js b/Pman.Tab.PersonList.js index 6ed72a4e..6e6b8c8e 100644 --- a/Pman.Tab.PersonList.js +++ b/Pman.Tab.PersonList.js @@ -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}); } -- 2.39.2