summaryrefslogtreecommitdiff
path: root/js/Branching/CLKGOTO.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/CLKGOTO.js')
-rw-r--r--js/Branching/CLKGOTO.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Branching/CLKGOTO.js b/js/Branching/CLKGOTO.js
index 555bb858..251a8509 100644
--- a/js/Branching/CLKGOTO.js
+++ b/js/Branching/CLKGOTO.js
@@ -25,12 +25,12 @@ function CLKGOTO() {
return options;
}
CLKGOTO.prototype.set = function CLKGOTO() {
- this.tag = arguments[0]["tag"]
- this.tagvis = parseFloat(arguments[0]["tagvis"])
- this.exprs = arguments[0]["exprs"]
this.exprs = this.graphics.exprs;
while (true) {
- [ok,this.tag,this.tagvis,this.exprs] = scicos_getvalue("Set block parameters",["Tag","Tag Visibility (1=Local 2=Scoped 3=Global)"],list("str",-1,"vec",1),this.exprs);
+ var ok = true;
+ this.tag = arguments[0]["tag"];
+ this.tagvis = parseFloat(arguments[0]["tagvis"]);
+ this.exprs = arguments[0]["exprs"];
if (!ok) {
break;
}