This is an automated email from the ASF dual-hosted git repository.
krisztiankasa pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 1f1f890 AMBARI-24700 - Slider widget: insert a space char between
label value and unit-name (#2399)
1f1f890 is described below
commit 1f1f890c65aa45243f76efac2fec741fea28a35b
Author: kasakrisz <[email protected]>
AuthorDate: Mon Oct 1 11:30:28 2018 +0200
AMBARI-24700 - Slider widget: insert a space char between label value and
unit-name (#2399)
---
.../app/views/common/configs/widgets/slider_config_widget_view.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
b/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
index 21d6f68..f00a7fd 100644
--- a/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
+++ b/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
@@ -434,7 +434,7 @@ App.SliderConfigWidgetView = App.ConfigWidgetView.extend({
step: mirrorStep,
formatter: function (val) {
var labelValue = Em.isArray(val) ? val[0] : val;
- return self.formatTickLabel(labelValue);
+ return self.formatTickLabel(labelValue, ' ');
}
});