From f4f7ec7c5b0f4e0b2ed7f45c6bb75d115c100a4c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 17 Jan 2011 11:11:10 +0800 Subject: [PATCH] Pman.Tab.AdminContactsGroup.js --- Pman.Tab.AdminContactsGroup.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Pman.Tab.AdminContactsGroup.js b/Pman.Tab.AdminContactsGroup.js index 8d5b98e..62aa248 100644 --- 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; - _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'); }); } -- 2.39.2