diff --git a/openbis/source/core-plugins/dataset-uploader/1/as/webapps/dataset-uploader/html/js/FormUtil.js b/openbis/source/core-plugins/dataset-uploader/1/as/webapps/dataset-uploader/html/js/FormUtil.js index a5fb0ab50c2a8528e64c7b29820ae3cd677ab86c..224876ab152454cfa794315ba9ea0cbe89a15eb4 100644 --- a/openbis/source/core-plugins/dataset-uploader/1/as/webapps/dataset-uploader/html/js/FormUtil.js +++ b/openbis/source/core-plugins/dataset-uploader/1/as/webapps/dataset-uploader/html/js/FormUtil.js @@ -156,7 +156,7 @@ var FormUtil = new function() { if (isRequired) { $component.attr('required', ''); } - if (isRequired) { + if (step) { $component.attr('step', step); } return $component; diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js index fc482f16bfec455b0159efa5ac583969423d71e3..dbb0d7289f6e3c40390a53dedf1fa6e4a71d80f9 100644 --- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js +++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js @@ -557,7 +557,7 @@ var FormUtil = new function() { if (isRequired) { $component.attr('required', ''); } - if (isRequired) { + if (step) { $component.attr('step', step); } return $component;