- // Add dashlet-specific js files
- // TODO: Need a much better way of managing on-the-fly js requirements. Require.js perhaps?
- // Checking if a specific dashlet is enabled is a pain and including the js here sucks anyway
- // So here's a compromise:
- if (in_array('CiviCase', $config->enableComponents)) {
- $resources->addScriptFile('civicrm', 'templates/CRM/Case/Form/ActivityChangeStatus.js');
- }
-