From 1f977690b7d3c874c25909480e2a0e8dcdd3a72f Mon Sep 17 00:00:00 2001 From: felmer <franz-josef.elmer@id.ethz.ch> Date: Thu, 12 Dec 2019 15:40:30 +0100 Subject: [PATCH] SSDM-9121: warning already when unarchive a single data set where the bundle is greater than twice the data set size. --- .../eln-lims/html/js/views/DataSetForm/DataSetFormController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/DataSetFormController.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/DataSetFormController.js index 5d32b922069..c48b79cb69b 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/DataSetFormController.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/DataSetFormController.js @@ -275,7 +275,7 @@ function DataSetFormController(parentController, mode, entity, dataSet, isMini, var callback = function() { _this.forceUnarchiving(dataSetPermId) }; - if (info["total size"] > 5 * info[dataSetPermId]["size"]) { + if (info["total size"] > 2 * info[dataSetPermId]["size"]) { Util.showWarning(text, callback); } else { callback(); -- GitLab