Pman.Tab.PersonList.js
authorbenny <benny@roojs.com>
Fri, 13 Jul 2018 08:20:16 +0000 (16:20 +0800)
committerbenny <benny@roojs.com>
Fri, 13 Jul 2018 08:20:16 +0000 (16:20 +0800)
Pman.Tab.PersonList.js

index bc3fa86..f8226d3 100644 (file)
@@ -459,8 +459,8 @@ Pman.Tab.PersonList.prototype = {
                     
                     var rec = _this.grid.ds.getAt(_this.grid.selModel.last);
                     
-                    var ids = [];
-                    ids.push(rec.id);
+                    var rec_id = rec.id;
+                    
                     if (!ids.length) {
                         Roo.MessageBox.alert("Error", "Select row to delete");
                         return;