From 4a9d1893044de2209539c1fbc6910b795f44357d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 26 Jul 2011 20:28:07 +0800 Subject: [PATCH] Pman.Login.js --- Pman.Login.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pman.Login.js b/Pman.Login.js index 4a465692..3cb181b5 100644 --- a/Pman.Login.js +++ b/Pman.Login.js @@ -162,7 +162,8 @@ Pman.Login = new Roo.util.Observable({ this.authUserId = au.id; this.authUser = au; this.lastChecked = new Date(); - Pman.fireEvent('authrefreshed', au); + // if login is used on other applicaitons.. + if (Pman.fireEvent) { Pman.fireEvent('authrefreshed', au); } //Pman.Tab.FaxQueue.newMaxId(au.faxMax); -- 2.39.2