UWVA#40273 JumpTo pagine activeren is belangrijker dan Zelfservice tabje activeren

svn path=/Website/branches/v2016.3/; revision=33575
This commit is contained in:
Jos Groot Lipman
2017-04-24 10:49:52 +00:00
parent dcedc3603c
commit 8b63fd1222

View File

@@ -362,6 +362,7 @@ if (device.test(device.isTouch)) { %>
window.parent.document.title = "<%=L("lcl_facilitor_ie_title")%><%=extra%>";
<%
var anyactivate = false;
if (!noTabs)
{
for (var menu in autoopen)
@@ -371,6 +372,8 @@ if (device.test(device.isTouch)) { %>
pg.u = pg.u.substr(6);
if (pg.f)
pg.u += (pg.u.indexOf("?")>0?"&":"?") + "fcltfilters=" + safe.url(pg.f);
if (pg.activate)
anyactivate = true;
//var params =
%>FcltMgr.openDetail("<%=safe.jsstring(pg.u)%>",
"<%=safe.jsstring(pg.t)%>",
@@ -399,10 +402,10 @@ if (device.test(device.isTouch)) { %>
%>
if (selectedTabId == 0) // Zelfservice?
{
<% if (menuitems && menuitems[0]?1:0) // filled?
<% if (menuitems && menuitems[0]?1:0) // filled? Als er al een andere actief is gemaakt doen wij het niet meer
{ %>
FcltMgr.openDetail("appl/fac/fac_portal_menu.asp?groep=0",
{ titel: $("#menutabs .ui-tabs-active").text(), reuse: true });
{ titel: $("#menutabs .ui-tabs-active").text(), reuse: true, noactivate: <%=anyactivate?1:0%> });
<% } %>
}
$("#menutabs").tabs({