From: Alan Knowles Date: Fri, 25 Aug 2017 04:31:41 +0000 (+0800) Subject: Pman.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=e86e96fa6e414a4fab88f75ce1608f85dd49370a Pman.js --- diff --git a/Pman.js b/Pman.js index 6bdb5041..bb4438ea 100644 --- a/Pman.js +++ b/Pman.js @@ -358,7 +358,7 @@ Pman = new Roo.Document( Pman.Dialog.PersonStaff.show( { id : 0, - company_id : Pman.Login.authUser.company_id_id * 1, + company_id : Pman.Login.authUser.company_id * 1, company_id_name : Pman.Login.authUser.company_id_name }, function(data) { forceAdmin(data); @@ -366,6 +366,7 @@ Pman = new Roo.Document( ); return; } + Roo.state.Manager.set('Pman.Login.username', data.email), window.onbeforeunload = false; document.location = baseURL + '?ts=' + Math.random();