How to force Ajax mode on all users

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

How to force Ajax mode on all users

   KB 23274        Last updated on 2020-08-25  

(0 votes)


  • This solution is for ZCS 8.7.x.

As always, make a backup of the files that we will modify just in case.

Step1: Edit file

vim /opt/zimbra/jetty-distribution-9.3.5.v20151012/webapps/zimbra/WEB-INF/classes/messages/

Inside find the lines starting with client+Mobile/Standard/Touch ( eg. clientMobile). They are one below the other. Delete the value of these attributes like so, but leave the clientPreferred value only:

clientMobile =
clientPreferred = Preferred
clientStandard =
clientTouch =

Step2: Edit file login.jsp:

vim /opt/zimbra/jetty-distribution-9.3.5.v20151012/webapps/zimbra/public/login.jsp

Inside, find the following lines:

<option value="touch" <c:if test="${client eq 'touch'}">selected</c:if>> <fmt:message key="clientTouch"/></option>
<option value="mobile" <c:if test="${client eq 'mobile'}">selected</c:if>> <fmt:message key="clientMobile"/></option>
<option value="standard" <c:if test="${client eq 'standard'}">selected</c:if>> <fmt:message key="clientStandard"/></option>
<option value="advanced" <c:if test="${client eq 'advanced'}">selected</c:if>> <fmt:message key="clientAdvanced"/></option>

And remove all of them.

Step3: Restart Zimbra

zmcontrol restart


Finally, the login page will look like that. The preferred version can be configured from COS:


Verified Against: Zimbra Collaboration 8.7 Date Created: 28/07/2017
Article ID: Date Modified: 2020-08-25

Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Wiki/KB reviewed by SME1 SME2 COPY EDITOR Last edit by Heera Singh Koranga
Jump to: navigation, search