Skip to content
Snippets Groups Projects
Commit 6f618205 authored by pkupczyk's avatar pkupczyk
Browse files

SSDM-274 : Javascript-based Microscopy Data Viewer - data set chooser should...

SSDM-274 : Javascript-based Microscopy Data Viewer - data set chooser should return the main panel from the render method

SVN: 31540
parent 53664044
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ define([ "jquery", "components/imageviewer/AbstractView" ], function($, Abstract
render : function() {
var thisView = this;
var widget = $("<div>").addClass("form-group");
var widget = $("<div>").addClass("form-group").appendTo(this.panel);
$("<label>").text("Data set").attr("for", "dataSetChooserSelect").appendTo(widget);
......@@ -32,7 +32,7 @@ define([ "jquery", "components/imageviewer/AbstractView" ], function($, Abstract
thisView.controller.setSelectedDataSetCode(select.val());
});
return widget;
return this.panel;
},
getDataSetText : function(dataSetCode) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment