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 04-03-2010, 08:00 PM
Trained Alumni
 
Posts: 48
Default Modifying core JS files -- deploying changes

I modified a few of the core JS files in order to re-add a feature in ZCS 6 that we similarly added to ZCS 5 - namely, displaying department names in the address autocomplete lookup (e.g. "Graham Ballantyne" (IT Services) <grahamb@sfu.ca>).

I had to modify three files in order to effect the change to work in dev=1 mode:
Code:
/opt/zimbra/jetty/webapps/zimbra/js/zimbra/csfe/ZmCsfeCommand.js
/opt/zimbra/jetty/webapps/zimbra/js/zimbraMail/share/model/ZmAutocomplete.js
/opt/zimbra/jetty/webapps/zimbra/js/zimbraMail/share/model/ZmSearch.js
Loading the web client with ?dev=1 loads these files individually and my mod works. Now I need to deploy the mod so that is works with the web client loaded normally (e.g. from the concatenated/compressed JS files, without dev=1). It looks like the equivalent places are:
Code:
NewWindow_2_all.js
Startup1_2_all.js
Startup1_1_all.js
Zimbra_all.js
Startup2_all.js
Is there a way of regenerating these files from their source files, or so I just need to re-do my mods into these files and re-gzip them?
__________________
Graham Ballantyne
Simon Fraser University
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

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.