From 71027e4e3543b6d99c2a9baa785e29bb13dffb5b Mon Sep 17 00:00:00 2001 From: barillac <barillac> Date: Mon, 25 Aug 2014 13:42:24 +0000 Subject: [PATCH] freeformtable added SVN: 32363 --- .../html/js/config/CaterinaTestProfile.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 8b989ab7f2f..c5cbab2443d 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 -- GitLab