Skip to content

Commit

Permalink
ZBUG-3008:Fixed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lavegupta committed Sep 9, 2022
1 parent 1f58464 commit 9f012b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions WebRoot/public/launchZCS.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -322,16 +322,16 @@
splSwitch.style.visibility = 'hidden';
}
}
function switchToStandardClient() {
function switchToModernClient() {
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)) || (AjxEnv.isSafari && !AjxEnv.isSafari4up);
unsupported = (screen && (screen.width <= 800 && screen.height <= 600) && !${isOfflineMode}) || (AjxEnv.isSafari && !AjxEnv.isSafari4up);
if (enforceMinDisplay && unsupported) {
switchToStandardClient();
switchToModernClient();
}
delete enforceMinDisplay;
delete unsupported;
Expand Down

0 comments on commit 9f012b2

Please sign in to comment.