scripting: set(): add script flag to prevent script execution

This commit is contained in:
jean-emmanuel 2021-12-07 08:00:42 +01:00
parent 97a754c047
commit f173bc20d4
5 changed files with 7 additions and 5 deletions

View file

@ -67,7 +67,7 @@ class WidgetManager extends EventEmitter {
let v = widget.getValue()
for (let i in widgetsByLinkId) {
if (widgetsByLinkId[i] !== widget) {
widgetsByLinkId[i].setValue(v,{send: options.send,sync: true, id})
widgetsByLinkId[i].setValue(v,{send: options.send, sync: true, script:options.script, id})
}
}
}