From: benny Date: Fri, 13 Jul 2018 08:02:04 +0000 (+0800) Subject: Pman.Tab.PersonList.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=fd4d461f5de335f5429562db0b82bd21e9e078a8 Pman.Tab.PersonList.js --- 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) {