X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Login.js;h=3cb181b50d211466ba464a5929eedc494b92d9e0;hb=4a9d1893044de2209539c1fbc6910b795f44357d;hp=4a4656926b3a683210721f3738e0c5d24dfe19f0;hpb=246149b8bd050753b571364af12a91ae820338e1;p=Pman.Core 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);