From 31ba39ef7acb186415afd3b516598320115cbe05 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 26 Jul 2011 20:35:58 +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 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; -- 2.39.2