Skip to content
Snippets Groups Projects
Commit e3aafa65 authored by juanf's avatar juanf
Browse files

Free form table bugfix.

SVN: 35665
parent 6d8f5e0d
No related branches found
No related tags found
No related merge requests found
...@@ -422,7 +422,7 @@ function SampleFormView(sampleFormController, sampleFormModel) { ...@@ -422,7 +422,7 @@ function SampleFormView(sampleFormController, sampleFormModel) {
if(propertyType.code === "ANNOTATIONS_STATE") { if(propertyType.code === "ANNOTATIONS_STATE" || propertyType.code === "FREEFORM_TABLE_STATE") {
continue; continue;
} else if(propertyType.code === "XMLCOMMENTS") { } else if(propertyType.code === "XMLCOMMENTS") {
var $commentsContainer = $("<div>"); var $commentsContainer = $("<div>");
......
...@@ -31,7 +31,6 @@ function FreeFormTableController(sample, isEnabled) { ...@@ -31,7 +31,6 @@ function FreeFormTableController(sample, isEnabled) {
} }
this.load = function() { this.load = function() {
$("#" + this._freeFormTableModel.samplePropertyCode).parent().parent().hide(); //Hide State Field
var state = sample.properties[this._freeFormTableModel.samplePropertyCode]; var state = sample.properties[this._freeFormTableModel.samplePropertyCode];
if(state && state !== "") { if(state && state !== "") {
this._freeFormTableModel.tables = JSON.parse(state); this._freeFormTableModel.tables = JSON.parse(state);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment