From 5312249714dfef79a107203d1ad12afa24884b9e Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Mon, 12 May 2014 08:17:40 +0000 Subject: [PATCH] SSDM-278: ELN UI - Some cleanup SVN: 31479 --- .../newbrowser/html/js/config/Profile.js | 22 +++++-------------- .../newbrowser/html/js/server/ServerFacade.js | 1 - 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/Profile.js b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/Profile.js index e9c6571bf81..fcf249f4bd5 100644 --- a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/Profile.js +++ b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/Profile.js @@ -1156,7 +1156,7 @@ $.extend(BodenmillerLabProfile.prototype, DefaultProfile.prototype, { this.notShowTypes = ["ANTIBODY_PANEL", "SYSTEM_EXPERIMENT"]; this.isShowUnavailablePreviewOnSampleTable = false; -// //For testing + //For testing // this.sampleTypeDefinitionsExtension = { // "SYSTEM_EXPERIMENT" : { // "SAMPLE_PARENTS_HINT" : [ @@ -1392,40 +1392,28 @@ $.extend(TestProfile.prototype, DefaultProfile.prototype, { "LABEL" : "Protocol", "TYPE": "PROTOCOL", "MIN_COUNT" : 1, - "ANNOTATIONS" : [] + "ANNOTATION_PROPERTIES" : [] } , { "LABEL" : "Plasmid", "TYPE": "PLASMIDS", "MIN_COUNT" : 1, - "ANNOTATIONS" : [] + "ANNOTATION_PROPERTIES" : [] } , { "LABEL" : "Inhibitor", "TYPE": "INHIBITORS", "MIN_COUNT" : 1, - "ANNOTATIONS" : [] + "ANNOTATION_PROPERTIES" : [] } , { "LABEL" : "Cell Line", "TYPE": "CELL_LINE", "MIN_COUNT" : 1, - "ANNOTATIONS" : [] - } - ], - } - } - - this.sampleTypeDefinitionsExtension = { - "WESTERN_BLOTTING" : { - "SAMPLE_PARENTS_HINT" : [ - { - "LABEL" : "Antibodies", - "TYPE": "ANTIBODIES", - "MIN_COUNT" : 1 + "ANNOTATION_PROPERTIES" : [] } ], } diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/server/ServerFacade.js b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/server/ServerFacade.js index d408dde17d5..7990e3900ab 100644 --- a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/server/ServerFacade.js +++ b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/server/ServerFacade.js @@ -232,7 +232,6 @@ function ServerFacade(openbisServer) { } else { visitedSamples[sampleOrId.permId] = true; } - console.log(sampleOrId.code); //Fill Parents if(sampleOrId.parents) { -- GitLab