projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b507a2
)
Pman.Tab.PersonList.js
author
benny
<benny@roojs.com>
Fri, 13 Jul 2018 08:20:16 +0000
(16:20 +0800)
committer
benny
<benny@roojs.com>
Fri, 13 Jul 2018 08:20:16 +0000
(16:20 +0800)
Pman.Tab.PersonList.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.PersonList.js
b/Pman.Tab.PersonList.js
index
bc3fa86
..
f8226d3
100644
(file)
--- a/
Pman.Tab.PersonList.js
+++ b/
Pman.Tab.PersonList.js
@@
-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;