summaryrefslogtreecommitdiff
path: root/js/Branching/FROM.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/FROM.js')
-rw-r--r--js/Branching/FROM.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Branching/FROM.js b/js/Branching/FROM.js
index 2a798ff9..e2b615e7 100644
--- a/js/Branching/FROM.js
+++ b/js/Branching/FROM.js
@@ -29,11 +29,11 @@ function FROM() {
return options;
}
FROM.prototype.set = function FROM() {
- this.tag = arguments[0]["tag"]
- this.exprs = arguments[0]["exprs"]
this.exprs = this.graphics.exprs;
while (true) {
- [ok,this.tag,this.exprs] = scicos_getvalue("Set parameters",["Tag"],list("str",-1),this.exprs);
+ var ok = true;
+ this.tag = arguments[0]["tag"];
+ this.exprs = arguments[0]["exprs"];
if (!ok) {
break;
}