From 8ce53461fe09f5102deeaedbb87bfc0d4f996ed2 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 16 Jul 2018 18:13:55 +0530 Subject: move the options in the loop --- js/Events/END_c.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/Events/END_c.js') diff --git a/js/Events/END_c.js b/js/Events/END_c.js index d1c5817a..f3817eb5 100644 --- a/js/Events/END_c.js +++ b/js/Events/END_c.js @@ -24,11 +24,11 @@ function END_c() { return options; } END_c.prototype.set = function END_c() { - this.tf = parseFloat(arguments[0]["tf"]) - this.exprs = arguments[0]["exprs"] this.exprs = this.graphics.exprs; while (true) { - [ok,this.tf,this.exprs] = scicos_getvalue("Set final simulation time",["Final simulation time"],list("vec",1),this.exprs); + var ok = true; + this.tf = parseFloat(arguments[0]["tf"]); + this.exprs = arguments[0]["exprs"]; if (!ok) { break; } -- cgit