That's because Zimbra doesn't serve the .js files to the user, but the "minified" .js.zgz versions, which you can regenerate with yuicompressor.
We use the following script for that, based on https://github.com/Zimbra/zm-web-client ... /build.xml:
(you can test your modifications first by adding ?debug=1 to your webmail URL, so it will use the original .js files instead)
We use the following script for that, based on https://github.com/Zimbra/zm-web-client ... /build.xml:
Code:
sed -re 's/^\s*DBG\.\w+\(.*\);\s*$$/ /' $< | yuicompressor --line-break 0 --type js | gzip -n
Statistics: Posted by ghen — Wed Mar 19, 2025 6:59 pm