UI: Minor fix for widgets subscription.
This commit is contained in:
parent
e0c6b1464c
commit
02202c217f
@ -350,9 +350,9 @@ export default class Subscription {
|
|||||||
var subscription = this;
|
var subscription = this;
|
||||||
this.cafs['dataUpdated'] = this.ctx.tbRaf(function() {
|
this.cafs['dataUpdated'] = this.ctx.tbRaf(function() {
|
||||||
try {
|
try {
|
||||||
subscription.callbacks.onDataUpdated(this, apply);
|
subscription.callbacks.onDataUpdated(subscription, apply);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
subscription.callbacks.onDataUpdateError(this, e);
|
subscription.callbacks.onDataUpdateError(subscription, e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (apply) {
|
if (apply) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user