Skip to content

Commit

Permalink
ZBUG-3008: client set to modern instead of standard
Browse files Browse the repository at this point in the history
  • Loading branch information
lavegupta committed Sep 9, 2022
1 parent 8114aa7 commit 1f58464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WebRoot/public/launchZCS.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -323,13 +323,13 @@
}
}
function switchToStandardClient() {
document.location = window.appContextPath + "/?client=standard";
document.location = window.appContextPath + "/?client=modern";
}
killSplashScreenSwitch();
<c:set var="enforceMinDisplay" value="${requestScope.authResult.prefs.zimbraPrefAdvancedClientEnforceMinDisplay[0]}"/>
<c:if test="${param.client ne 'advanced'}">
enforceMinDisplay = ${enforceMinDisplay ne 'FALSE'};
unsupported = (screen && (screen.width <= 800 && screen.height <= 600) && !${isOfflineMode}) || (AjxEnv.isSafari && !AjxEnv.isSafari4up);
unsupported = (screen && (screen.width <= 800 && screen.height <= 600)) || (AjxEnv.isSafari && !AjxEnv.isSafari4up);
if (enforceMinDisplay && unsupported) {
switchToStandardClient();
}
Expand Down

0 comments on commit 1f58464

Please sign in to comment.