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/Branching/GotoTagVisibilityMO.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/Branching/GotoTagVisibilityMO.js') diff --git a/js/Branching/GotoTagVisibilityMO.js b/js/Branching/GotoTagVisibilityMO.js index 1fe14ab0..3caf13d2 100644 --- a/js/Branching/GotoTagVisibilityMO.js +++ b/js/Branching/GotoTagVisibilityMO.js @@ -29,11 +29,11 @@ function GotoTagVisibilityMO() { return options; } GotoTagVisibilityMO.prototype.set = function GotoTagVisibilityMO() { - 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",["GotoTag"],list("str",-1),this.exprs); + var ok = true; + this.tag = arguments[0]["tag"]; + this.exprs = arguments[0]["exprs"]; if (!ok) { break; } -- cgit