summaryrefslogtreecommitdiff
path: root/js/Events/MFCLCK_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Events/MFCLCK_f.js')
-rw-r--r--js/Events/MFCLCK_f.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Events/MFCLCK_f.js b/js/Events/MFCLCK_f.js
index 72992ea3..1edf1edd 100644
--- a/js/Events/MFCLCK_f.js
+++ b/js/Events/MFCLCK_f.js
@@ -29,11 +29,11 @@ function MFCLCK_f() {
return options;
}
MFCLCK_f.prototype.set = function MFCLCK_f() {
- this.dt = parseFloat(arguments[0]["dt"])
- this.nn = parseFloat(arguments[0]["nn"])
- this.exprs = arguments[0]["exprs"]
this.exprs = this.graphics.exprs;
- [ok,this.dt,this.nn,this.exprs] = scicos_getvalue("Set Multifrequency clock parameters",["basic period (1/f)","multiply by (n)"],list("vec",1,"vec",1),this.exprs);
+ var ok = true;
+ this.dt = parseFloat(arguments[0]["dt"]);
+ this.nn = parseFloat(arguments[0]["nn"]);
+ this.exprs = arguments[0]["exprs"];
if (ok) {
this.model.ipar = new ScilabDouble([this.nn]);
this.model.rpar = new ScilabDouble([this.dt]);