self.log() is not a function : completeCallback have not context of "this"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jQuery Poll |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
When completeCallback() is executed "self" is "window" and "this" is "$.ajax", you could make those changes :
Poller.
var calls = {
data: this.dataCallba
};
var opts = $.extend(true, calls, this.settings);
};
Poller.
if ($.isFunction(
} else if (textStatus != 'success') {
// increase the wait for server error, timeout, notmodified, or parser error.
if (next_wait <= this.max_wait) {
} else {
}
if ($.isFunction(
}
}
if ($.isFunction(
}
};
Regards,
Tony Cuny