diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/CaterinaTestProfile.js b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/CaterinaTestProfile.js index 8b989ab7f2f18cd36b3b5b47d7a2f3d9c006d5b0..c5cbab2443d77612420a65726eb178ad76de638e 100644 --- a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/CaterinaTestProfile.js +++ b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/config/CaterinaTestProfile.js @@ -126,5 +126,19 @@ $.extend(CaterinaTestProfile.prototype, DefaultProfile.prototype, { //The colors for the notes, if you don«t specify the color, light yellow will be used by default. this.colorForInspectors = {}; + + + this.sampleFormContentExtra = function(sampleTypeCode, sample, containerId) { + if(sampleTypeCode === "FACS") { + var isEnabled = mainController.currentView._sampleFormModel.mode !== FormMode.VIEW; + var freeFormTableController = new FreeFormTableController(sample, isEnabled); + freeFormTableController.init($("#" + containerId)); + } +// if(sampleTypeCode === "SYSTEM_EXPERIMENT") { +// var isEnabled = mainController.currentView._sampleFormModel.mode !== FormMode.VIEW; +// var dilutionWidgetController = new DilutionTableController(sample, isEnabled); +// dilutionWidgetController.init($("#" + containerId)); +// } + } } }); \ No newline at end of file