Repository: ambari Updated Branches: refs/heads/trunk 9bde38785 -> 564273cd5
AMBARI-18027. Hive HSI number of daemons label does not refresh. (jaimin) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/564273cd Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/564273cd Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/564273cd Branch: refs/heads/trunk Commit: 564273cd5697961accf5612e902f63bc05891c8e Parents: 9bde387 Author: Jaimin Jetly <[email protected]> Authored: Thu Aug 4 10:09:09 2016 -0700 Committer: Jaimin Jetly <[email protected]> Committed: Thu Aug 4 10:10:42 2016 -0700 ---------------------------------------------------------------------- ambari-web/app/views/common/controls_view.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/564273cd/ambari-web/app/views/common/controls_view.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/common/controls_view.js b/ambari-web/app/views/common/controls_view.js index 1ed29ee..57b27c2 100644 --- a/ambari-web/app/views/common/controls_view.js +++ b/ambari-web/app/views/common/controls_view.js @@ -101,7 +101,8 @@ App.SupportsDependentConfigs = Ember.Mixin.create({ var type = App.config.getConfigTagFromFileName(config.get('filename')); var p = App.configsCollection.getConfig(App.config.configId(name, type)); controller.removeCurrentFromDependentList(config, saveRecommended); - if ((p && Em.get(p, 'propertyDependedBy.length') > 0 || config.get('displayType') === 'user') && config.get('oldValue') !== config.get('value')) { + if ((p && Em.get(p, 'propertyDependedBy.length') > 0) + || (config.get('displayType') === 'user' && config.get('oldValue') !== config.get('value'))) { var old = config.get('oldValue'); config.set('oldValue', config.get('value')); return controller.loadConfigRecommendations([{
