From f23a4752d26f49264bf7459488ab106e54f8f51d Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Thu, 19 Mar 2015 08:36:28 +0000 Subject: [PATCH] SSDM-1614 : YEASTLAB - ELN UI - Show Names (ANNOTATIONS_STATE Bugfix for Show view) SVN: 33694 --- .../newbrowser/html/js/views/legacy/SampleLinksWidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/legacy/SampleLinksWidget.js b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/legacy/SampleLinksWidget.js index a53647ae442..6ae56dbaeb2 100644 --- a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/legacy/SampleLinksWidget.js +++ b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/legacy/SampleLinksWidget.js @@ -90,7 +90,7 @@ function SampleLinksWidget(containerId, profile, serverFacade, title, sampleType this._readState = function() { var stateField = $("#ANNOTATIONS_STATE"); - if(stateField.length === 0) { + if(stateField.length === 0 && !this.isDisabled) { if(this.sampleTypeHints && this.sampleTypeHints.length !== 0) { //Indicates annotations are needed Util.showError("You need a property with code ANNOTATIONS_STATE on this entity to store the state of the annotations."); } -- GitLab