Op onchange van persoonselector al fac_user_info openen

svn path=/Website/trunk/; revision=31739
This commit is contained in:
Jos Groot Lipman
2016-11-29 20:19:40 +00:00
parent f87f17fab5
commit 9bf4b9dc06

View File

@@ -44,6 +44,8 @@ function generateHeader()
<script type="text/javascript">
function setGlobalUser (prs_key, prs_naam) {
FcltMgr.setCaller({prs_key: prs_key, prs_naam: prs_naam});
if (prs_key > 0)
FcltMgr.openDetail("appl/fac/fac_user.asp?prs_key=" + prs_key);
}
<%
if (S("puo_loglevel") > 1 && user.has("WEB_FACTAB"))
@@ -197,10 +199,9 @@ function generateHeaderFunctions (params)
"json");
}
</script>
<div id="headerfunctions"><%
if (user_key != -1) {
%><div id="loggedinuser"><%=L("lcl_loggedin_as") + '<span onclick="myInfo()">'+ safe.html(user.naam())+'</span>' + (user.alg_locatie_key({withcurrent:true})>-1 ? L("lcl_mobile_currentpos")+(new Locatie(user.alg_locatie_key({withcurrent:true})).locatie_string()) : "") %></div><%
}
<div id="headerfunctions">
<div id="loggedinuser"><%=L("lcl_loggedin_as") + '<span onclick="myInfo()">'+ safe.html(user.naam())+'</span>' + (user.alg_locatie_key({withcurrent:true})>-1 ? L("lcl_mobile_currentpos")+(new Locatie(user.alg_locatie_key({withcurrent:true})).locatie_string()) : "") %></div>
<%
if (S("language_toggles").length > 1)
{
%><div id="langtoggle"><%