projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7438fbd
)
fix hiding feature
author
Alan Knowles
<alan@roojs.com>
Wed, 18 Sep 2019 04:40:11 +0000
(12:40 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 18 Sep 2019 04:40:11 +0000
(12:40 +0800)
Pman.Tab.PersonList.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.PersonList.js
b/Pman.Tab.PersonList.js
index
34cbcc2
..
cf2c313
100644
(file)
--- 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_a
ctive) {
+ if (
!_this.showInA
ctive) {
var el = Roo.select('.x-grid-row-selected').item(3);
el.addClass('x-grid-row-fadeout');
el.on('transitionend',function(){