From 74e1c1ff9de7f07b9ac6b9f6472f4bc61164bbd9 Mon Sep 17 00:00:00 2001 From: benny Date: Fri, 13 Jul 2018 15:40:58 +0800 Subject: [PATCH] Pman.Tab.PersonList.js --- Pman.Tab.PersonList.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Pman.Tab.PersonList.js b/Pman.Tab.PersonList.js index 12eb89b9..040a6651 100644 --- a/Pman.Tab.PersonList.js +++ b/Pman.Tab.PersonList.js @@ -456,12 +456,11 @@ Pman.Tab.PersonList.prototype = { icon: rootURL + '/Pman/templates/images/trash.gif', handler : function(){ //Pman.genericDelete(_this, 'Person'); - console.log(_this); - var di = this.grid.RowSelectionModel.getSelected(); + var rec = _this.grid.ds.getAt(rowIndex); - console.log(ids.length); + console.log(rec); /*if (!ids.length) { Roo.MessageBox.alert("Error", "Select rows by clicking on the Internal# column"); return; -- 2.39.2