Pman.Tab.PersonList.js
[Pman.Core] / Pman.Tab.PersonList.js
index 66470b3..677a911 100644 (file)
@@ -458,9 +458,7 @@ Pman.Tab.PersonList.prototype = {
                     //Pman.genericDelete(_this, 'Person'); 
                     
                     var rec = _this.grid.ds.getAt(_this.grid.selModel.last);
-
-                    console.log(rec);
-                        
+                    _this.paging.onClick('refresh');
                     var ids = [];
                     ids.push(rec.id);
                     if (!ids.length) {
@@ -470,7 +468,7 @@ Pman.Tab.PersonList.prototype = {
 
                     Roo.MessageBox.confirm(
                         "Confirm", 
-                        "Confirm Deletion of selected rows (some rows can not be deleted if they are referenced elsewhere", 
+                        "Confirm Deletion of selected row (some rows can not be deleted if they are referenced elsewhere", 
                         function(res) {
                             if(res != 'yes') {
                                 return;
@@ -482,6 +480,7 @@ Pman.Tab.PersonList.prototype = {
                                     _delete  : ids.join(',')
                                 },
                                 success : function() {
+                                    
                                     _this.grid.footer.onClick('refresh');
                                 }
                             });