FSN#38410 Leeg menutab geeft AiAi
svn path=/Website/trunk/; revision=31578
This commit is contained in:
@@ -690,20 +690,20 @@ function generateMenu (pmode, groep) //groep alleen voor mode 3
|
||||
var menuTitleLength = 0;
|
||||
var menuTitleString = "";
|
||||
|
||||
if (menuitems[MENU.PERS].Koppen.length > 0 || menuitems[MENU.FAV].Koppen.length > 0) {
|
||||
if ((menuitems[MENU.PERS] && menuitems[MENU.PERS].Koppen.length > 0) || (menuitems[MENU.FAV] && menuitems[MENU.FAV].Koppen.length > 0)) {
|
||||
menuTitleLength++;
|
||||
menuTitleString += '<li><a href="#PersFAC"><span class="menutab">' + L("lcl_menu_pers") + '</span></a></li>';
|
||||
}
|
||||
if (menuitems[MENU.PROF].Koppen.length > 0) {
|
||||
if ((menuitems[MENU.PROF] && menuitems[MENU.PROF].Koppen.length > 0)) {
|
||||
menuTitleLength++;
|
||||
menuTitleString += '<li><a href="#ProfFAC"><span class="menutab">' + L("lcl_menu_prof") + '</span></a></li>';
|
||||
}
|
||||
if (menuitems[MENU.MGT].Koppen.length > 0) {
|
||||
if ((menuitems[MENU.MGT] && menuitems[MENU.MGT].Koppen.length > 0)) {
|
||||
menuTitleLength++;
|
||||
menuTitleString += '<li><a href="#MgtFAC"><span class="menutab">' + L("lcl_menu_config") + '</span></a></li>';
|
||||
}
|
||||
|
||||
var disp = menuTitleLength == 1 ? " style=\" display:none\"" : "";
|
||||
var disp = menuTitleLength == 1 ? " style=\"display:none\"" : "";
|
||||
// ui-helper-clearfix wordt er straks door jQuery opgezet bij $("#menutabs").tabs();
|
||||
// CONN#19264 Door het alvast zelf te doen wordt een reproduceerbare crash voorkomen!
|
||||
%>
|
||||
@@ -712,20 +712,20 @@ function generateMenu (pmode, groep) //groep alleen voor mode 3
|
||||
%></ul>
|
||||
<div class="ui-layout-content">
|
||||
<%
|
||||
if (menuitems[MENU.PERS].Koppen.length > 0) {
|
||||
if ((menuitems[MENU.PERS] && menuitems[MENU.PERS].Koppen.length > 0)) {
|
||||
%><div id="PersFAC" class="ui-tabs-panel ui-tabs-hide"><%
|
||||
Response.Write("<div class='filtermenukop'>" + L("lcl_menu_pers") + "</div>");
|
||||
if (menuitems[MENU.PERS].Koppen.length > 0)
|
||||
CreateMenuGroep(menuitems[MENU.PERS].Koppen, pmode); // zelfservice
|
||||
%></div><%
|
||||
}
|
||||
if (menuitems[MENU.PROF].Koppen.length > 0) {
|
||||
if ((menuitems[MENU.PROF] && menuitems[MENU.PROF].Koppen.length > 0)) {
|
||||
%><div id="ProfFAC" class="ui-tabs-panel"><%
|
||||
Response.Write("<div class='filtermenukop'>" + L("lcl_menu_prof") + "</div>");
|
||||
CreateMenuGroep(menuitems[MENU.PROF].Koppen, pmode);
|
||||
%></div><%
|
||||
}
|
||||
if (menuitems[MENU.MGT].Koppen.length > 0) {
|
||||
if ((menuitems[MENU.MGT] && menuitems[MENU.MGT].Koppen.length > 0)) {
|
||||
%><div id="MgtFAC" class="ui-tabs-panel ui-tabs-hide"><%
|
||||
Response.Write("<div class='filtermenukop'>" + L("lcl_menu_config") + "</div>");
|
||||
CreateMenuGroep(menuitems[MENU.MGT].Koppen, pmode);
|
||||
|
||||
Reference in New Issue
Block a user