summaryrefslogtreecommitdiff
path: root/js/Branching/SCALAR2VECTOR.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/SCALAR2VECTOR.js')
-rw-r--r--js/Branching/SCALAR2VECTOR.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/Branching/SCALAR2VECTOR.js b/js/Branching/SCALAR2VECTOR.js
index 8564a431..bfcbe004 100644
--- a/js/Branching/SCALAR2VECTOR.js
+++ b/js/Branching/SCALAR2VECTOR.js
@@ -17,6 +17,8 @@ function SCALAR2VECTOR() {
return this.x;
}
SCALAR2VECTOR.prototype.get = function SCALAR2VECTOR() {
+ var exprs = this.graphics.exprs;
+ this.set_param_popup_title = "Set block parameters";
var options = {
nout:["size of output (-1: if don\'t know)",this.nout],
}
@@ -53,7 +55,6 @@ function SCALAR2VECTOR() {
return new BasicBlock(this.x);
}
SCALAR2VECTOR.prototype.get_popup_title = function SCALAR2VECTOR() {
- var set_param_popup_title = "Set block parameters";
- return set_param_popup_title;
+ return this.set_param_popup_title;
}
}