From: Alan Knowles Date: Tue, 26 Jul 2011 14:04:37 +0000 (+0800) Subject: Pman.Login.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=c9904f978c7295a8bb4869ab6fd4c589eafd2c17 Pman.Login.js --- diff --git a/Pman.Login.js b/Pman.Login.js index 5cc90d70..dc39a3de 100644 --- a/Pman.Login.js +++ b/Pman.Login.js @@ -316,10 +316,13 @@ Pman.Login = new Roo.util.Observable({ //Roo.get('loading').show(); Roo.get('loading-mask').show(); } - - Pman.onload(); - + if (Pman.onload) { + Pman.onload(); + } + if (Pman.Login.callback) { + Pman.Login.callback(); + } } }