Pman.Tab.PersonList.js
authorbenny <benny@roojs.com>
Fri, 13 Jul 2018 07:19:09 +0000 (15:19 +0800)
committerbenny <benny@roojs.com>
Fri, 13 Jul 2018 07:19:09 +0000 (15:19 +0800)
Pman.Tab.PersonList.js

index d670b5c..830fb15 100644 (file)
@@ -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;