diff options
Diffstat (limited to 'js/Events/HALT_f.js')
-rw-r--r-- | js/Events/HALT_f.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Events/HALT_f.js b/js/Events/HALT_f.js index e0ab69c9..a93fb2c0 100644 --- a/js/Events/HALT_f.js +++ b/js/Events/HALT_f.js @@ -24,11 +24,11 @@ function HALT_f() { return options; } HALT_f.prototype.set = function HALT_f() { - this.n = parseFloat(arguments[0]["n"]) - this.exprs = arguments[0]["exprs"] this.exprs = this.graphics.exprs; while (true) { - [ok,this.n,this.exprs] = scicos_getvalue("Set Halt block parameters",["State on halt"],list("vec",1),this.exprs); + var ok = true; + this.n = parseFloat(arguments[0]["n"]); + this.exprs = arguments[0]["exprs"]; if (!ok) { break; } |