Custom Javascript - Meetings - Calendar Quick Create

I have added custom javascript into
{suite_root}/custom/modules/Meetings/metadata/editviewdefs.php

like so

<?php
  $viewdefs ['Meetings'] =
  array (
    'EditView' =>
    array (
      'templateMeta' =>
      array (
      'includes' => array (
        0 => array ('file' => 'custom/modules/Meetings/js/my_custom_js.js'),
      ),
      ...

How would I get the CAL.change_activity_type function in {suite_root}/modules/Calendar/Cal.js to load javascript from the Meetings edit view?

1 Like