Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-02-2007, 07:25 AM
Starter Member
 
Posts: 2
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
Reply With Quote
  #2 (permalink)  
Old 07-02-2007, 06:34 PM
Zimbra Employee
 
Posts: 269
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!
Reply With Quote
  #3 (permalink)  
Old 07-03-2007, 12:55 AM
Starter Member
 
Posts: 2
Thumbs up

Thank you. Now it works as expected.

Best regards, Alessandro
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.