scripting: using external: true in set() should prevent affected widget from sending any message

This commit is contained in:
jean-emmanuel 2023-08-21 23:33:22 +02:00
parent cb009e64e0
commit c766370db7
3 changed files with 7 additions and 3 deletions

View file

@ -87,7 +87,10 @@ class ScriptVm extends Vm {
if (extraOptions.send === false) options.send = false
if (extraOptions.sync === false) options.sync = false
if (extraOptions.script === false) options.script = false
if (extraOptions.external === true) options.fromExternal = true
if (extraOptions.external === true) {
options.fromExternal = true
options.send = false
}
var widgets
if (id.includes('*')) {