events: missing context passing
This commit is contained in:
parent
ec34aed028
commit
6da2d1e425
2 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ module.exports = class Formula extends Widget {
|
|||
this.conditionState = true
|
||||
|
||||
|
||||
widgetManager.on('change', this.syncHandle.bind(this))
|
||||
widgetManager.on('change', this.syncHandle.bind(this), {context: this})
|
||||
|
||||
if (this.formulaString.length) this.updateValue({options:{}})
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ module.exports = class _switchers_base extends Widget {
|
|||
|
||||
}
|
||||
|
||||
widgetManager.on('change', this.syncHandler.bind(this))
|
||||
widgetManager.on('change', this.syncHandler.bind(this), {context: this})
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue