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/Misc/BACKLASH.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'js/Misc/BACKLASH.js')

diff --git a/js/Misc/BACKLASH.js b/js/Misc/BACKLASH.js
index 2af53279..f7d1aeb8 100644
--- a/js/Misc/BACKLASH.js
+++ b/js/Misc/BACKLASH.js
@@ -26,14 +26,14 @@ function BACKLASH() {
         return options;
     }
     BACKLASH.prototype.set = function BACKLASH() {
-        this.ini = arguments[0]["ini"]
-        this.gap = arguments[0]["gap"]
-        this.zcr = arguments[0]["zcr"]
-        this.exprs = arguments[0]["exprs"]
         this.exprs = this.graphics.exprs;
         var rpar = this.model.rpar;
         while (true) {
-            [ok,this.ini,this.gap,this.zcr,this.exprs] = scicos_getvalue("Set backlash parameters",["initial output","gap","use zero-crossing (0:no, 1:yes)"],list("vec",1,"vec",1,"vec",1),this.exprs);
+            var ok = true;
+            this.ini = arguments[0]["ini"];
+            this.gap = arguments[0]["gap"];
+            this.zcr = arguments[0]["zcr"];
+            this.exprs = arguments[0]["exprs"];
             if (!ok) {
                 break;
             }
-- 
cgit