Repository: ambari
Updated Branches:
  refs/heads/trunk 82e3d174d -> d6a785672


AMBARI-17933. Configs: Warning message absent when invalid value filled for 
combo widget in raw mode. (alexantonenko)


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

Branch: refs/heads/trunk
Commit: d6a7856720c9ce7d5a54481daaa150c3571eeecd
Parents: 82e3d17
Author: Alex Antonenko <[email protected]>
Authored: Thu Jul 28 00:03:35 2016 +0300
Committer: Alex Antonenko <[email protected]>
Committed: Thu Jul 28 00:39:20 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/d6a78567/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
----------------------------------------------------------------------
diff --git 
a/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js 
b/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
index b579cae..5efc4f7 100644
--- a/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
+++ b/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
@@ -45,6 +45,7 @@ App.ComboConfigWidgetView = App.ConfigWidgetView.extend({
     this.initPopover();
     this.addObserver('config.stackConfigProperty.valueAttributes.entries.[]', 
this, this.updateValuesList);
     this.addObserver('controller.forceUpdateBoundaries', this, 
this.updateValuesList);
+    this.addObserver('config.value', this, this.isValueCompatibleWithWidget);
   },
 
   /**

Reply via email to