-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
In the processDoc function there are some global events which are causing issues with newer versions of jQuery.
$.event.trigger('taconite-begin-notify', [taconiteDoc]);
$.event.trigger('taconite-rawdata-notify', [rawData]);
$.event.trigger('taconite-complete-notify', [xml, !!status, status === true ? null : status]);
Can these be easily changed to be non-global events? I tried the below but get a new error. I'm not clear where these custom events are defined, for example I don't see any calls to 'bind' them to the object so I'm not sure how else I can fix it.
I've tried:
$(taconiteDoc).event.trigger('taconite-begin-notify');
$(rawData).event.trigger('taconite-rawdata-notify');
$(xml).event.trigger('taconite-complete-notify', !!status, status === true ? null : status]);
But get "TypeError: $(...).event is undefined"
Metadata
Metadata
Assignees
Labels
No labels