From 352623792d2b9400510599c487540b1e763a7d3c Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 29 Aug 2018 10:48:12 +0530 Subject: add the common code to get method also type is a function get the popup title from the value set in the get method --- js/Branching/GOTOMO.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'js/Branching/GOTOMO.js') diff --git a/js/Branching/GOTOMO.js b/js/Branching/GOTOMO.js index 643791d8..24ed6c75 100644 --- a/js/Branching/GOTOMO.js +++ b/js/Branching/GOTOMO.js @@ -26,6 +26,8 @@ function GOTOMO() { return this.x; } GOTOMO.prototype.get = function GOTOMO() { + var exprs = this.graphics.exprs; + this.set_param_popup_title = "Set parameters"; var options = { tag:["Tag",this.tag], tagvis:["Tag Visibility(1=Local 2=scoped 3= global)",this.tagvis], @@ -65,7 +67,6 @@ function GOTOMO() { return new BasicBlock(this.x); } GOTOMO.prototype.get_popup_title = function GOTOMO() { - var set_param_popup_title = "Set parameters"; - return set_param_popup_title; + return this.set_param_popup_title; } } -- cgit