diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js index 388bc19b4b4cee600d46dad6df5070ae5a779bef..376d581efb21345ab9c083e361180ea073ce99f3 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/config/Profile.js @@ -114,7 +114,7 @@ $.extend(DefaultProfile.prototype, { this.isAdmin = false; - this.forcedDisableRTF = ["NAME", "SEQUENCE"]; + this.forcedDisableRTF = ["FREEFORM_TABLE_STATE","NAME", "SEQUENCE"]; this.isForcedDisableRTF = function(propertytype) { return (propertytype && $.inArray(propertytype.code, this.forcedDisableRTF) !== -1); } diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/dss/reporting-plugins/eln-lims-api/script.py b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/dss/reporting-plugins/eln-lims-api/script.py index 7834d7afb9b18d9ab78fc5d46e5204417cda31c3..d2662138b445b2eb74ae95aa5320fddf64704212 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/dss/reporting-plugins/eln-lims-api/script.py +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/dss/reporting-plugins/eln-lims-api/script.py @@ -134,9 +134,11 @@ def getProperties(tr, parameters): properties = infService.listPropertyTypes(sessionToken, False); return properties +rtpropertiesToIgnore = ["FREEFORM_TABLE_STATE", "NAME", "SEQUENCE"]; + def isPropertyRichText(properties, propertyCode): for property in properties: - if property.getCode() == propertyCode and property.getCode() != "FREEFORM_TABLE_STATE": + if property.getCode() == propertyCode and property.getCode() not in rtpropertiesToIgnore: return property.getDataType() == DataTypeCode.MULTILINE_VARCHAR; return None;