summaryrefslogtreecommitdiff
path: root/js/Branching/GotoTagVisibility.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/GotoTagVisibility.js')
-rw-r--r--js/Branching/GotoTagVisibility.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Branching/GotoTagVisibility.js b/js/Branching/GotoTagVisibility.js
index 491bec8d..d568b4b6 100644
--- a/js/Branching/GotoTagVisibility.js
+++ b/js/Branching/GotoTagVisibility.js
@@ -10,7 +10,7 @@ function GotoTagVisibility() {
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 GotoTagVisibility() {
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;