From cb38276fc855dd55cbed2da57c0aefcdab8a3830 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 14 Jan 2011 15:46:37 +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 0b0711d..07e65ac 100644 --- a/Pman.Tab.AdminContactsGroup.js +++ b/Pman.Tab.AdminContactsGroup.js @@ -82,7 +82,11 @@ Pman.Tab.AdminContactsGroup = new Roo.util.Observable({ }, load : function (_self, records, options) { - + var sm = _this.grid.getSelectionModel(); + if (!sm.getSelections().length) { + sm.selectFirstRow(); + } + Pman.Tab.AdminContactsPerson.grid.footer.onClick('first'); } }, remoteSort : true, -- 2.39.2