You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2015/06/23 16:45:46 UTC

ambari git commit: AMBARI-12090 Hive configs: save and discard buttons are blinking all the time. (ababiichuk)

Repository: ambari
Updated Branches:
  refs/heads/trunk 0c98119f5 -> 5acc324b7


AMBARI-12090 Hive configs: save and discard buttons are blinking all the time. (ababiichuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5acc324b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5acc324b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5acc324b

Branch: refs/heads/trunk
Commit: 5acc324b7f6a11e90c266d89353c84938a19becb
Parents: 0c98119
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Mon Jun 22 19:47:23 2015 +0300
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Tue Jun 23 17:45:29 2015 +0300

----------------------------------------------------------------------
 .../app/views/common/configs/widgets/slider_config_widget_view.js  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5acc324b/ambari-web/app/views/common/configs/widgets/slider_config_widget_view.js
----------------------------------------------------------------------
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 7712804..ccbac8e 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
@@ -547,7 +547,7 @@ App.SliderConfigWidgetView = App.ConfigWidgetView.extend({
   refreshSliderObserver: function() {
     var sliderTickLabel = this.$('.ui-slider-wrapper:eq(0) .slider-tick-label:first');
     var self = this;
-    if (sliderTickLabel.width() == 0) {
+    if (sliderTickLabel.width() == 0 && this.isValueCompatibleWithWidget()) {
       Em.run.later('sync', function() {
         self.changeBoundariesOnce();
       }, 10);