The "Rebuild Minified JS Files" action is used to rebuild the contents of the jssource directory.
We are considering removing this particular action from the UI because, generally, rebuilding the minfied JS files is not something we would expect most users to need to do. While customizing jssource files is not upgrade safe, we recognize some folks in Sugar Developer community may be using this action for one reason or another.
Changes for Sugar 7.7 release
The following actions have been removed from the Sugar Administration user interface in Sugar 7.7. They are available under the Repair panel.
- Rebuild JS Compressed Files
- Rebuild Minified JS Files
- Repair JS Files
Manually running these actions
As an example, you can navigate to the following URL to run the Repair JS Files action from your browser.
You may need to update your config_override.php file to include additional http_referer configuration if you encounter a Cross Site Request Forgery (XSRF) warning. Directions are included on that warning page if you encounter it.
For example, here is a config that will allow localhost to run the Repair JS Files action.config_override.php
$sugar_config['http_referer']['list'] = 'localhost';$sugar_config['http_referer']['actions'] =array( 'index', 'ListView', 'DetailView', 'EditView', 'oauth', 'authorize', 'Authenticate', 'Login', 'SupportPortal', 'LogView', 'SugarpdfSettings', 'saveftsmodules', 'SaveSequence', 'PasswordManager', 'LicenseSettings', 'Updater', 'Backups', 'Languages', 'Locale', 'Upgrade', 'repair', 'GlobalSearchSettings', 'Diagnostic', 'EnableWirelessModules', 'ConfigureTabs', 'UpgradeWizard', 'ConfigureShortcutBar', 'wizard', 'historyContactsEmails', 'GoogleOauth2Redirect', 'RepairJSFile' );
If the action was run successfully, you should see the expected message.
Changes in upcoming Sugar releases