From 3a7300c73b91a3c1236804900179a9ec218813f6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 17 Jan 2011 11:10:44 +0800 Subject: [PATCH] Pman.Tab.AdminContactsGroup.js --- Pman.Tab.AdminContactsGroup.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Pman.Tab.AdminContactsGroup.js b/Pman.Tab.AdminContactsGroup.js index 17eb384..8d5b98e 100644 --- a/Pman.Tab.AdminContactsGroup.js +++ b/Pman.Tab.AdminContactsGroup.js @@ -226,6 +226,9 @@ Pman.Tab.AdminContactsGroup = new Roo.util.Observable({ Roo.MessageBox.alert("Error", s.length ? "Select only one Row" : "Select a Row"); return; } + if (s[0].data.id < 1 ) { + return; + } if (!_this.dialog) return; _this.dialog.show(s[0].data, function() { _this.grid.ds.load({}); -- 2.39.2