diff options
Diffstat (limited to 'js/Branching/SCALAR2VECTOR.js')
-rw-r--r-- | js/Branching/SCALAR2VECTOR.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Branching/SCALAR2VECTOR.js b/js/Branching/SCALAR2VECTOR.js index 8442b522..9cf939c2 100644 --- a/js/Branching/SCALAR2VECTOR.js +++ b/js/Branching/SCALAR2VECTOR.js @@ -23,11 +23,11 @@ function SCALAR2VECTOR() { return options; } SCALAR2VECTOR.prototype.set = function SCALAR2VECTOR() { - this.nout = parseFloat(arguments[0]["nout"]) - this.exprs = arguments[0]["exprs"] this.exprs = this.graphics.exprs; while (true) { - [ok,this.nout,this.exprs] = scicos_getvalue("Set block parameters",["size of output (-1: if don\'t know)"],list("vec",1),this.exprs); + var ok = true; + this.nout = parseFloat(arguments[0]["nout"]); + this.exprs = arguments[0]["exprs"]; if (!ok) { break; } |