value events: remove some useless flags
This commit is contained in:
parent
93d3b159ca
commit
c3002b99c3
2 changed files with 4 additions and 4 deletions
|
|
@ -241,7 +241,7 @@ class Widget extends EventEmitter {
|
|||
context: {value: 0, id: '', touch: undefined}
|
||||
})
|
||||
this.on('value-changed', (e)=>{
|
||||
if (e.widget === this && this.mounted && !e.options.fromEdit && e.options.script !== false) {
|
||||
if (e.widget === this && this.mounted && e.options.script !== false) {
|
||||
this.scripts.onValue.run({
|
||||
value: e.options.widget ? e.options.widget.value : this.value,
|
||||
id: e.options.id || e.id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue