projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99c56ed
)
Pman.Tab.PersonList.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 16 Dec 2010 03:06:32 +0000
(11:06 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 16 Dec 2010 03:06:32 +0000
(11:06 +0800)
Pman.Tab.PersonList.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.PersonList.js
b/Pman.Tab.PersonList.js
index
56f63a4
..
f091698
100644
(file)
--- a/
Pman.Tab.PersonList.js
+++ b/
Pman.Tab.PersonList.js
@@
-482,8
+482,17
@@
Pman.Tab.PersonList.prototype = {
qtip: "Switch to Selected User",
- handler : function () {
-
+ listeners : {
+ click : function () {
+ var s = grid.getSelectionModel().getSelections();
+ if (s.length != 1) {
+ Ext.MessageBox.alert("Error", "Select a Person");
+ return;
+ }
+
+ }
+ }
+
},