diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/YeastLabProfile.js b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/YeastLabProfile.js index 6f236ff98b277e18c085102baf7689c57e6217d5..1db4883b28e9252f7f012acb638cb883fe22b23a 100644 --- a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/YeastLabProfile.js +++ b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/YeastLabProfile.js @@ -180,6 +180,16 @@ $.extend(YeastLabProfile.prototype, DefaultProfile.prototype, { return sortedResults; } + + + this.sampleFormContentExtra = function(sampleTypeCode, sample, containerId) { + if(sampleTypeCode === "RESULT") { + var isEnabled = mainController.currentView._sampleFormModel.mode !== FormMode.VIEW; + var freeFormTableController = new FreeFormTableController(sample, isEnabled); + freeFormTableController.init($("#" + containerId)); + } + } + this.inspectorContentExtra = function(extraContainerId, sample) { // When requesting information about the sample, we don't need parents and children, so send a copy of the saple without that information.