summaryrefslogtreecommitdiff
path: root/js/Misc/CONSTRAINT_c.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/CONSTRAINT_c.js')
-rw-r--r--js/Misc/CONSTRAINT_c.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/Misc/CONSTRAINT_c.js b/js/Misc/CONSTRAINT_c.js
index c7f9f041..cb70864b 100644
--- a/js/Misc/CONSTRAINT_c.js
+++ b/js/Misc/CONSTRAINT_c.js
@@ -19,6 +19,8 @@ function CONSTRAINT_c() {
return this.x;
}
CONSTRAINT_c.prototype.get = function CONSTRAINT_c() {
+ var exprs = this.graphics.exprs;
+ this.set_param_popup_title = "Set solver block parameters";
var options = {
x0:["Initial guess values",this.x0.toString().replace(/,/g," ")],
}
@@ -58,7 +60,6 @@ function CONSTRAINT_c() {
return new BasicBlock(this.x);
}
CONSTRAINT_c.prototype.get_popup_title = function CONSTRAINT_c() {
- var set_param_popup_title = "Set solver block parameters";
- return set_param_popup_title;
+ return this.set_param_popup_title;
}
}