09-22-2019, 08:48 PM
Howdy all!
I finally downloaded and installed the official version of IW 15.1.5.
A callback function I have that worked in all version of IW15 up to version 15.0.24 now no longer works.
The callback event is implemented in a TDataModule (child component of my form).
I added a 'console.out' to my javascript event and it does get called.
The executeAjaxEvent() doesn't call my registered callback.
Here is my javascript event:
function OnStepItemClick(event)
{
executeAjaxEvent("&ID="+event.currentTarget.id.toString(),null,\"" + Name.UpperCase() + ".OnStepItemClick\",false, null, false);
console.log('OnStepItemClick() called!' + event.currentTarget.id.toString());
}
Here is my register callback code:
Form->WebApplication->RegisterCallBack(Name.UpperCase() + L".OnStepItemClick",OnStepItemClick);
I can't release my updated web module until I get this resolved.
Any ideas on what has changed? How to fix it? How to debug it?
Thanks,
Shane
I finally downloaded and installed the official version of IW 15.1.5.
A callback function I have that worked in all version of IW15 up to version 15.0.24 now no longer works.
The callback event is implemented in a TDataModule (child component of my form).
I added a 'console.out' to my javascript event and it does get called.
The executeAjaxEvent() doesn't call my registered callback.
Here is my javascript event:
function OnStepItemClick(event)
{
executeAjaxEvent("&ID="+event.currentTarget.id.toString(),null,\"" + Name.UpperCase() + ".OnStepItemClick\",false, null, false);
console.log('OnStepItemClick() called!' + event.currentTarget.id.toString());
}
Here is my register callback code:
Form->WebApplication->RegisterCallBack(Name.UpperCase() + L".OnStepItemClick",OnStepItemClick);
I can't release my updated web module until I get this resolved.
Any ideas on what has changed? How to fix it? How to debug it?
Thanks,
Shane