diff options
author | Sunil Shetye | 2018-07-16 18:13:55 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-18 11:36:15 +0530 |
commit | 8ce53461fe09f5102deeaedbb87bfc0d4f996ed2 (patch) | |
tree | 6b766b7c32effff12fa48cff99f11b9420136610 /js/PDE | |
parent | 5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f (diff) | |
download | sci2js-8ce53461fe09f5102deeaedbb87bfc0d4f996ed2.tar.gz sci2js-8ce53461fe09f5102deeaedbb87bfc0d4f996ed2.tar.bz2 sci2js-8ce53461fe09f5102deeaedbb87bfc0d4f996ed2.zip |
move the options in the loop
Diffstat (limited to 'js/PDE')
-rw-r--r-- | js/PDE/PDE.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/PDE/PDE.js b/js/PDE/PDE.js index 816eee7e..e2cbf621 100644 --- a/js/PDE/PDE.js +++ b/js/PDE/PDE.js @@ -23,9 +23,6 @@ function PDE() { return options; } PDE.prototype.set = function PDE() { - this.okk = parseBoolean(arguments[0]["okk"]) - this.rdnom = arguments[0]["rdnom"] - this.lab = arguments[0]["lab"] var label = this.graphics.exprs; var params_pde = label[1-1]; while (true) { @@ -110,7 +107,10 @@ function PDE() { this.rdnom = "PDE"; var ok1 = true; while (true) { - [this.okk,this.rdnom,this.lab] = scicos_getvalue("PLEASE, GIVE US THE BLOCK\'s NAME. ","New block\'s name :",list("str",1),label[3-1]); + var ok = true; + this.okk = parseBoolean(arguments[0]["okk"]); + this.rdnom = arguments[0]["rdnom"]; + this.lab = arguments[0]["lab"]; if (this.okk==false) { var ok1 = false; return; |