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 a53647ae442a782829aa0f206111af3d8ef3b41a..6ae56dbaeb2860f25e814105e0a653bfd0d87356 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."); }