From: Alan Knowles Date: Wed, 18 Sep 2019 04:40:11 +0000 (+0800) Subject: fix hiding feature X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=0e728b719691f2b80c87a538d045cb3a50d1f203 fix hiding feature --- diff --git a/Pman.Tab.PersonList.js b/Pman.Tab.PersonList.js index 34cbcc21..cf2c3134 100644 --- a/Pman.Tab.PersonList.js +++ b/Pman.Tab.PersonList.js @@ -263,12 +263,12 @@ Pman.Tab.PersonList.prototype = { } var rec = _this.grid.ds.getAt(rowIndex); - var is_active = rec.data.active; + rec.set('active', rec.data.active ? 0 : 1); rec.commit(); // only hide if viewing active members... - if (is_active) { + if (!_this.showInActive) { var el = Roo.select('.x-grid-row-selected').item(3); el.addClass('x-grid-row-fadeout'); el.on('transitionend',function(){