From: Alan Knowles Date: Tue, 26 Jul 2011 12:28:07 +0000 (+0800) Subject: Pman.Login.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=4a9d1893044de2209539c1fbc6910b795f44357d Pman.Login.js --- 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);