Commit 02202c217f9d854e4d5206f6bb943e346e02c309
1 parent
e0c6b146
UI: Minor fix for widgets subscription.
Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -350,9 +350,9 @@ export default class Subscription { |
350 | 350 | var subscription = this; |
351 | 351 | this.cafs['dataUpdated'] = this.ctx.tbRaf(function() { |
352 | 352 | try { |
353 | - subscription.callbacks.onDataUpdated(this, apply); | |
353 | + subscription.callbacks.onDataUpdated(subscription, apply); | |
354 | 354 | } catch (e) { |
355 | - subscription.callbacks.onDataUpdateError(this, e); | |
355 | + subscription.callbacks.onDataUpdateError(subscription, e); | |
356 | 356 | } |
357 | 357 | }); |
358 | 358 | if (apply) { | ... | ... |