summaryrefslogtreecommitdiff
path: root/js/Branching/FROMMO.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/FROMMO.js')
-rw-r--r--js/Branching/FROMMO.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Branching/FROMMO.js b/js/Branching/FROMMO.js
index e80abb71..78f6bc51 100644
--- a/js/Branching/FROMMO.js
+++ b/js/Branching/FROMMO.js
@@ -34,8 +34,8 @@ function FROMMO() {
FROMMO.prototype.set = function FROMMO() {
this.tag = arguments[0]["tag"]
this.x = arg1;
- var graphics = arg1.graphics;
- var exprs = graphics.exprs;
+ this.graphics = arg1.graphics;
+ var exprs = this.graphics.exprs;
this.model = arg1.model;
while (true) {
[ok,this.tag,exprs] = scicos_getvalue("Set parameters",["Tag"],list("str",-1),exprs);
@@ -47,10 +47,10 @@ function FROMMO() {
var needcompile = 4;
var y = needcompile;
}
- graphics.exprs = exprs;
+ this.graphics.exprs = new ScilabDouble([exprs]);
this.model.opar = list(new ScilabDouble([this.tag]));
this.x.model = this.model;
- this.x.graphics = graphics;
+ this.x.graphics = this.graphics;
break;
}
}