From 54e9da81f331216dd021dd4164db2811f28c6f33 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Fri, 24 Aug 2018 13:19:45 +0530 Subject: get the title from the definition --- js/Electrical/PotentialSensor.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js/Electrical/PotentialSensor.js') diff --git a/js/Electrical/PotentialSensor.js b/js/Electrical/PotentialSensor.js index 301e60c9..e291c457 100644 --- a/js/Electrical/PotentialSensor.js +++ b/js/Electrical/PotentialSensor.js @@ -28,4 +28,8 @@ function PotentialSensor() { PotentialSensor.prototype.set = function PotentialSensor() { return new BasicBlock(this.x); } + PotentialSensor.prototype.get_popup_title = function PotentialSensor() { + var set_param_popup_title = "Set parameters"; + return set_param_popup_title; + } } -- cgit