Re-Enable hook

This forum is for programmers who have questions about the source code.
Post Reply
msneen
Posts: 4
Joined: Wed Feb 08, 2017 10:42 am

Re-Enable hook

Post by msneen » Mon Jan 06, 2020 2:19 pm

Hi,

One of the hooks for our plugin was commented out in a recent version of open dental. Could we get it re-enabled/uncommented?

Version: 19.3.38.0
Class Name: ContrApptJ.cs
Line Number: 255
//Plugins.HookAddCode(this, "ContrAppt.ContrApptSheet2_MouseUp_end",appt,apptOld);

The hook was enabled in previous versions in this class.
The Old Class Name: ContrAppt.cs
Line Number: 4335

Original request
viewtopic.php?f=3&t=6479#p28737

PatrickC
Posts: 56
Joined: Thu Jun 06, 2019 11:37 am

Re: Re-Enable hook

Post by PatrickC » Tue Jan 07, 2020 2:10 pm

I'm checking on the ramifications, or lack thereof, of uncommenting the hook at this time. I'll update as soon as I have more info.
Patrick Carlson
Open Dental Software
http://www.opendental.com

PatrickC
Posts: 56
Joined: Thu Jun 06, 2019 11:37 am

Re: Re-Enable hook

Post by PatrickC » Wed Jan 08, 2020 9:27 am

The hook has been reinstated in the ContrAppt class. I have also added an additional hook, with updated naming conventions, that we would like you to utilize instead. It is the following:

Code: Select all

Plugins.HookAddCode(this,"ContrAppt.contrApptPanel_ApptMoved_end",appt,apptOld);
These hooks have been backported to the upcoming 19.3.41 and 19.4.8(beta) releases.
Patrick Carlson
Open Dental Software
http://www.opendental.com

Post Reply