Skip to content
Snippets Groups Projects
Commit d9358671 authored by juanf's avatar juanf
Browse files

SSDM-3044 : Improved dataset viewer, polishing.

SVN: 35723
parent 97c8e246
No related branches found
No related tags found
No related merge requests found
...@@ -181,10 +181,15 @@ function DataSetViewer(containerId, profile, sample, serverFacade, datastoreDown ...@@ -181,10 +181,15 @@ function DataSetViewer(containerId, profile, sample, serverFacade, datastoreDown
var datasetFormClick = function(datasetCode) { var datasetFormClick = function(datasetCode) {
return function(event) { return function(event) {
mainController.changeView('showViewDataSetPageFromPermId', datasetCode); mainController.changeView('showViewDataSetPageFromPermId', datasetCode);
event.stopPropagation();
}; };
} }
var $datasetFormClickBtn = $("<a>").append($("<span>").attr("class", "glyphicon glyphicon-search")).click(datasetFormClick(dataset.code)); var $datasetFormClickBtn = "";
if(this.enableOpenDataset) {
$datasetFormClickBtn = $("<a>").append($("<span>").attr("class", "glyphicon glyphicon-search")).click(datasetFormClick(dataset.code));
}
var tRow = $("<tr>") var tRow = $("<tr>")
.append($("<td>", { "style" : "width: 35%;"}).html(dataset.dataSetTypeCode)) .append($("<td>", { "style" : "width: 35%;"}).html(dataset.dataSetTypeCode))
......
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