From: benny Date: Fri, 13 Jul 2018 07:55:23 +0000 (+0800) Subject: Pman.Tab.PersonList.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=25795ee1ca520ab8cd8eeb8bed0b1a6a2726896d Pman.Tab.PersonList.js --- diff --git a/Pman.Tab.PersonList.js b/Pman.Tab.PersonList.js index 210908e7..faa62819 100644 --- a/Pman.Tab.PersonList.js +++ b/Pman.Tab.PersonList.js @@ -261,9 +261,9 @@ Pman.Tab.PersonList.prototype = { if (di != 'active') { return; } - - var rec = _this.grid.ds.getAt(rowIndex); + var rec = _this.grid.ds.getAt(rowIndex); + console.log(rec); rec.set('active', rec.data.active ? 0 : 1); rec.commit();