projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
826010a
)
Pman.Tab.AdminContactsGroup.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 17 Jan 2011 03:11:10 +0000
(11:11 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 17 Jan 2011 03:11:10 +0000
(11:11 +0800)
Pman.Tab.AdminContactsGroup.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.AdminContactsGroup.js
b/Pman.Tab.AdminContactsGroup.js
index
8d5b98e
..
62aa248
100644
(file)
--- a/
Pman.Tab.AdminContactsGroup.js
+++ b/
Pman.Tab.AdminContactsGroup.js
@@
-62,7
+62,11
@@
Pman.Tab.AdminContactsGroup = new Roo.util.Observable({
rowdblclick : function (_self, rowIndex, e)
{
if (!_this.dialog) return;
rowdblclick : function (_self, rowIndex, e)
{
if (!_this.dialog) return;
- _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {
+ var s = his.getDataSource().getAt(rowIndex);
+ if (s.data.id < 1 ) {
+ return;
+ }
+ _this.dialog.show( s.data, function() {
_this.grid.footer.onClick('first');
});
}
_this.grid.footer.onClick('first');
});
}