From f19304a4fe99556c5ddc35024c818d00ffe7e23a Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 9 Jul 2018 17:07:46 +0530 Subject: handle list separately --- js/Branching/GotoTagVisibilityMO.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/Branching/GotoTagVisibilityMO.js') diff --git a/js/Branching/GotoTagVisibilityMO.js b/js/Branching/GotoTagVisibilityMO.js index bd510468..942512e3 100644 --- a/js/Branching/GotoTagVisibilityMO.js +++ b/js/Branching/GotoTagVisibilityMO.js @@ -10,7 +10,7 @@ function GotoTagVisibilityMO() { this.model.evtin = []; this.model.intyp = new ScilabDouble(1); this.model.outtyp = new ScilabDouble(1); - this.model.opar = list("A"); + this.model.opar = list(new ScilabString("A")); this.model.blocktype = new ScilabString("c"); this.model.firing = new ScilabBoolean(false); this.model.dep_ut = [false,false]; @@ -45,7 +45,7 @@ function GotoTagVisibilityMO() { y = needcompile; } graphics.exprs = exprs; - this.model.opar = list(this.tag); + this.model.opar = list(new ScilabDouble(this.tag)); this.x.graphics = graphics; this.x.model = this.model; break; -- cgit