Commit 02202c217f9d854e4d5206f6bb943e346e02c309

Authored by Igor Kulikov
1 parent e0c6b146

UI: Minor fix for widgets subscription.

@@ -350,9 +350,9 @@ export default class Subscription { @@ -350,9 +350,9 @@ export default class Subscription {
350 var subscription = this; 350 var subscription = this;
351 this.cafs['dataUpdated'] = this.ctx.tbRaf(function() { 351 this.cafs['dataUpdated'] = this.ctx.tbRaf(function() {
352 try { 352 try {
353 - subscription.callbacks.onDataUpdated(this, apply); 353 + subscription.callbacks.onDataUpdated(subscription, apply);
354 } catch (e) { 354 } catch (e) {
355 - subscription.callbacks.onDataUpdateError(this, e); 355 + subscription.callbacks.onDataUpdateError(subscription, e);
356 } 356 }
357 }); 357 });
358 if (apply) { 358 if (apply) {