You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wrapping $.ajax in a function that returns $.ajax's JQueryPromise. I then pass that to expectPromise but I get m_opts.action.apply is not a function. Am I doing something wrong or does Messenger not work with JQuery's Promise implementation? I have read that JQuery's Promise implementation is not compliant with Promises/A+.
Here is my call to expectPromise: (this is typescript code).
Messenger().expectPromise(
CourtGroupsService.getCourtGroup(this.CourtGroupId()).done((group: CourtGroup) => {
this.map(group);
}),
{
successMessage: 'Court Group reloaded from the server',
progresMessage: 'false'
});
CourtGroupsService.getCourtGroup() returns a JQueryPromise.
Thanks
Greg
The text was updated successfully, but these errors were encountered:
HI
I am wrapping$.ajax in a function that returns $ .ajax's JQueryPromise. I then pass that to expectPromise but I get m_opts.action.apply is not a function. Am I doing something wrong or does Messenger not work with JQuery's Promise implementation? I have read that JQuery's Promise implementation is not compliant with Promises/A+.
Here is my call to expectPromise: (this is typescript code).
CourtGroupsService.getCourtGroup() returns a JQueryPromise.
Thanks
Greg
The text was updated successfully, but these errors were encountered: