From: benny Date: Fri, 13 Jul 2018 08:17:21 +0000 (+0800) Subject: Pman.Tab.PersonList.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=2b507a23b72ceb5326104c057ff89cb2ba51dfe2 Pman.Tab.PersonList.js --- diff --git a/Pman.Tab.PersonList.js b/Pman.Tab.PersonList.js index 677a9116..bc3fa86d 100644 --- a/Pman.Tab.PersonList.js +++ b/Pman.Tab.PersonList.js @@ -458,7 +458,7 @@ Pman.Tab.PersonList.prototype = { //Pman.genericDelete(_this, 'Person'); var rec = _this.grid.ds.getAt(_this.grid.selModel.last); - _this.paging.onClick('refresh'); + var ids = []; ids.push(rec.id); if (!ids.length) { @@ -480,8 +480,8 @@ Pman.Tab.PersonList.prototype = { _delete : ids.join(',') }, success : function() { - - _this.grid.footer.onClick('refresh'); + _this.paging.onClick('refresh'); + //_this.grid.footer.onClick('refresh'); } }); }