Pman.Tab.PersonList.js
[Pman.Core] / 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;