diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/plugins/MicroscopyTechnology.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/plugins/MicroscopyTechnology.js index 2db69a4ee9af6aaad9d74fe94086c6acf7ba4d13..134fcfd80301f96118f2a8724c937958e44296c9 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/plugins/MicroscopyTechnology.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/plugins/MicroscopyTechnology.js @@ -262,9 +262,6 @@ $.extend(MicroscopyTechnology.prototype, ELNLIMSPlugin.prototype, { DataSetFileFetchOptions) { // First retrieve the sample again but with the associated datasets - console.log("Processing microscopy sample " + sample.code); - - // Search for the sample of type and given perm id var criteria = new SampleSearchCriteria(); criteria.withType().withCode().thatEquals(sample.sampleTypeCode); criteria.withPermId().thatEquals(sample.permId); @@ -325,15 +322,12 @@ $.extend(MicroscopyTechnology.prototype, ELNLIMSPlugin.prototype, { // Still use the V1 API since the sessionId stored in the // webapp context is null in V3. mainController.openbisV1.getDownloadUrlForFileForDataSetInSession( - dataSet.code, f.getPath(), function (url) { + f.getDataSetPermId().permId, f.getPath(), function (url) { // Replace the image var eUrl = encodeURI(url); eUrl = eUrl.replace('+', '%2B'); imD.attr("src", eUrl); - - console.log("Adding thumbnail " + eUrl + " to " + img_id); - }); }