summaryrefslogtreecommitdiff
path: root/js/NonLinear/SIGNUM.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/SIGNUM.js')
-rw-r--r--js/NonLinear/SIGNUM.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/NonLinear/SIGNUM.js b/js/NonLinear/SIGNUM.js
index 075f4c92..1e929997 100644
--- a/js/NonLinear/SIGNUM.js
+++ b/js/NonLinear/SIGNUM.js
@@ -25,11 +25,11 @@ function SIGNUM() {
return options;
}
SIGNUM.prototype.set = function SIGNUM() {
- this.zcr = arguments[0]["zcr"]
- this.exprs = arguments[0]["exprs"]
this.exprs = this.graphics.exprs;
while (true) {
- [ok,this.zcr,this.exprs] = scicos_getvalue("Set block parameters",["use zero_crossing (1: yes) (0:no)"],list("vec",1),this.exprs);
+ var ok = true;
+ this.zcr = arguments[0]["zcr"];
+ this.exprs = arguments[0]["exprs"];
if (!ok) {
break;
}