Results 1 to 3 of 3

Thread: confirmExitMethod

  1. #1
    Join Date
    Jul 2007
    Posts
    2
    Rep Power
    8

    Exclamation confirmExitMethod

    Hello,

    I found that for disabling the confirmation message showed when closing the browser, I have to change the proper method so it returns null instead of a valid string.

    Code:
    ZmZimbraMail._confirmExitMethod=function(){
    //return ZmMsg.appExitWarning;
    return null;
    };
    I found three recurrence of this code within the following files:

    /js/ZimbraMail_all.js
    /js/ZimbraNewWindow_all.js
    /js/ZimbraMail/ZimbraMail.js

    and I changed all. Even if I restart the server, delete the compiled jsp or just clean the browser cache, the confirmation message still appears.

    Any hint?

    Best regards, Alessandro

  2. #2
    Join Date
    Sep 2005
    Location
    Sunnyvale, CA
    Posts
    269
    Rep Power
    10

    Default

    If you're modifying the source code, you need to redeploy the web client. Under <src>/ZimbraWebClient, type "ant prod-deploy" to re-deploy the production build of ZWC.

    If you are modifying the deployed files (not recommended), then you should un-gzip the original package file (i.e. ZimbraCore_all.js.zgz), edit the code you want to change, and re-gzip it.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    Join Date
    Jul 2007
    Posts
    2
    Rep Power
    8

    Thumbs up

    Thank you. Now it works as expected.

    Best regards, Alessandro

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •