From fd4d461f5de335f5429562db0b82bd21e9e078a8 Mon Sep 17 00:00:00 2001 From: benny Date: Fri, 13 Jul 2018 16:02:04 +0800 Subject: [PATCH] Pman.Tab.PersonList.js --- Pman.Tab.PersonList.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Pman.Tab.PersonList.js b/Pman.Tab.PersonList.js index 24358478..b4483107 100644 --- a/Pman.Tab.PersonList.js +++ b/Pman.Tab.PersonList.js @@ -456,10 +456,10 @@ Pman.Tab.PersonList.prototype = { icon: rootURL + '/Pman/templates/images/trash.gif', handler : function(){ //Pman.genericDelete(_this, 'Person'); - console.log(_this.grid.selModel.last); - var rec = _this.grid.ds.getAt(rowIndex); + + var rec = _this.grid.ds.getAt(_this.grid.selModel.last); - + console.log(rec); /*if (!ids.length) { -- 2.39.2