From 23f0a00fceaaca81f244b6ea1dc5234a2cc27f28 Mon Sep 17 00:00:00 2001 From: benny Date: Fri, 13 Jul 2018 15:19:09 +0800 Subject: [PATCH] Pman.Tab.PersonList.js --- Pman.Tab.PersonList.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pman.Tab.PersonList.js b/Pman.Tab.PersonList.js index d670b5c3..830fb15d 100644 --- a/Pman.Tab.PersonList.js +++ b/Pman.Tab.PersonList.js @@ -458,12 +458,13 @@ Pman.Tab.PersonList.prototype = { //Pman.genericDelete(_this, 'Person'); var ids = []; - console.log(_this.grid.dataSource); + _this.grid.dataSource.each(function(rr) { if (rr.selected) { ids.push(rr.data.id); } }); + console.log(ids.length); if (!ids.length) { Roo.MessageBox.alert("Error", "Select rows by clicking on the Internal# column"); return; -- 2.39.2