diff options
Diffstat (limited to 'js/Sources/CONST_m.js')
-rw-r--r-- | js/Sources/CONST_m.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js index 7996dfc3..55c8e3a6 100644 --- a/js/Sources/CONST_m.js +++ b/js/Sources/CONST_m.js @@ -26,11 +26,11 @@ function CONST_m() { return options; } CONST_m.prototype.set = function CONST_m() { - this.C = inverse(arguments[0]["C"]) - this.exprs = arguments[0]["exprs"] this.exprs = this.graphics.exprs; while (true) { - [ok,this.C,this.exprs] = scicos_getvalue([[msprintf("Set %s block parameters","CONST_m")],[" "],["Constant value generator"],[" "]],"Constant Value",list("vec",-1),this.exprs); + var ok = true; + this.C = inverse(arguments[0]["C"]); + this.exprs = arguments[0]["exprs"]; if (!ok) { break; } |