projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47859bb
)
Pman.Tab.AdminContacts.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 10:16:25 +0000
(18:16 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 10:16:25 +0000
(18:16 +0800)
Pman.Tab.AdminContacts.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.AdminContacts.js
b/Pman.Tab.AdminContacts.js
index
cf1a8e1
..
6a02290
100644
(file)
--- a/
Pman.Tab.AdminContacts.js
+++ b/
Pman.Tab.AdminContacts.js
@@
-631,16
+631,7
@@
Pman.Tab.AdminContacts = new Roo.util.Observable({
listeners : {
click : function()
{
- var s = _this.grid.getSelectionModel().getSelections();
- if (!s.length || (s.length > 1)) {
- Roo.MessageBox.alert("Error", s.length ? "Select only one Row" : "Select a Row");
- return;
- }
-
- _this.dialog.show(s[0].data, function() {
- _this.grid.footer.onClick('first');
- });
-
+ Pman.genericDelete(this.grid, 'Person');
}
},
cls : 'x-btn-text-icon',