From 404a4454843fc1c8b3e9b60d7b751dc4f2bc4889 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 27 Jul 2017 13:11:44 +0200 Subject: [PATCH] formula: correct change event emit --- src/browser/js/app/widgets/maths/formula.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/widgets/maths/formula.js b/src/browser/js/app/widgets/maths/formula.js index ddea6a84..497f0290 100644 --- a/src/browser/js/app/widgets/maths/formula.js +++ b/src/browser/js/app/widgets/maths/formula.js @@ -143,7 +143,7 @@ module.exports = class Formula extends _widgets_base { this.showValue() - if (e.options.sync && this.conditionState) this.widget.trigger({type: 'change',id: this.getProp('id'),widget: this.widget, linkId: this.getProp('linkId'), options: e.options}) + if (e.options.sync && this.conditionState) this.widget.trigger({type: 'change',id: this.getProp('id'),widget: this, linkId: this.getProp('linkId'), options: e.options}) if (e.options.send && this.conditionState) this.sendValue() } catch(err) {