From: Alan Knowles Date: Tue, 26 Jul 2011 12:35:58 +0000 (+0800) Subject: Pman.Login.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=31ba39ef7acb186415afd3b516598320115cbe05 Pman.Login.js --- diff --git a/Pman.Login.js b/Pman.Login.js index 9a84143b..f7cd3f62 100644 --- a/Pman.Login.js +++ b/Pman.Login.js @@ -433,11 +433,12 @@ Pman.Login = new Roo.util.Observable({ - show: function (modal) + show: function (modal, cb) { if (this.disabled) { return; } + this.callback = cb; // used for non-pman usage.. modal = modal || false; if (Pman.Login.authUserId < 0) { // logout!? return;