From d99641699faf5d57d13f34b42f8140c97b0a93a0 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Fri, 1 Sep 2017 12:27:14 +0000 Subject: [PATCH] SSDM-5555 : ELN storage glitch when switching between boxes with positions assigned and those without SVN: 38692 --- .../js/views/StorageManager/widgets/StorageController.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/StorageManager/widgets/StorageController.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/StorageManager/widgets/StorageController.js index 835e111af24..a40e73ae7dc 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/StorageManager/widgets/StorageController.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/StorageManager/widgets/StorageController.js @@ -46,8 +46,13 @@ function StorageController(configOverride) { data.samples.length === 1 && data.samples[0].properties[_this._storageModel.storagePropertyGroup.boxProperty]) { _this._storageView.showBoxName(); _this._storageView.showBoxSize(); + _this._storageView.showPosField(data.size, true); + } else { + _this._storageView.hideBoxField(); + _this._storageView.hideBoxSizeField(); + _this._storageView.hidePosField(); } - _this._storageView.showPosField(data.size, true); + }); } -- GitLab