Page 1 of 1

Re-Enable hook

Posted: Mon Jan 06, 2020 2:19 pm
by msneen
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

Re: Re-Enable hook

Posted: Tue Jan 07, 2020 2:10 pm
by PatrickC
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.

Re: Re-Enable hook

Posted: Wed Jan 08, 2020 9:27 am
by PatrickC
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.