projects
/
Pman.Admin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pman.Tab.AdminCompanies.bjs
[Pman.Admin]
/
Pman.Tab.AdminCompanies.js
diff --git
a/Pman.Tab.AdminCompanies.js
b/Pman.Tab.AdminCompanies.js
index
ad1a7bb
..
645e6c8
100644
(file)
--- a/
Pman.Tab.AdminCompanies.js
+++ b/
Pman.Tab.AdminCompanies.js
@@
-184,6
+184,7
@@
Pman.Tab.AdminCompanies = new Roo.XComponent({
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;