From 0a5e0cca4ed9f58fabc98275fc939e5127e18896 Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Wed, 7 Oct 2015 14:19:03 +0000
Subject: [PATCH] SSDM-2435 : Bugfixes, real values

SVN: 34813
---
 .../1/as/webapps/dataset-uploader/html/js/FormUtil.js           | 2 +-
 .../eln-lims/1/as/webapps/eln-lims/html/js/util/FormUtil.js     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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 a5fb0ab50c2..224876ab152 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 fc482f16bfe..dbb0d7289f6 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;
-- 
GitLab