Override onclick function of meeting in the calendar

Hi,

I was able to override the onclick function in the meeting module but aside from that I also need to override the onclick function of meeting within the calendar module. (please see screenshot for reference)

I just can’t figure out what file should I modify.

Can you please confirm in what file should I modify please?

Anyone please?

In the meeting module (view.edit) I was able to override the onclick function via this code:

$jsscript2 = <<<EOQ

document.getElementById(‘btn_parent_name’).onclick = function()
{
var popup_request_data =
{
‘call_back_function’ : ‘set_return’,
‘form_name’ : ‘EditView’,
‘field_to_name_array’ :
{
‘id’ : ‘parent_id’,
‘name’ : ‘parent_name’,
‘phone_home’ : ‘phone_home_c’,
‘phone_mobile’ : ‘phone_mobile_c’,
‘primary_address_street’ : ‘primary_address_street_c’,
‘primary_address_city’ : ‘primary_address_city_c’,
‘primary_address_state’ : ‘primary_address_state_c’,
‘primary_address_postalcode’ : ‘primary_address_postalcode_c’,
‘primary_address_country’ : ‘primary_address_country_c’,
},
};
open_popup(‘Contacts’, 600, 400, ‘’, true, false, popup_request_data);
}

               </script>

EOQ;

	parent::display();

echo $jsscript2;

However, I can’t figure out how can I override the onclick function of the meeting in the calendar (Activities>Calendar>click a meeting entry).
Please help.

Any idea please… I really need help on this :unsure: :unsure: :unsure: