You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2016/08/04 17:04:57 UTC
ambari git commit: AMBARI-18027. Hive HSI number of daemons label
does not refresh. (jaimin)
Repository: ambari
Updated Branches:
refs/heads/branch-2.4 d0efcd8d2 -> 3a9091b65
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/3a9091b6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3a9091b6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3a9091b6
Branch: refs/heads/branch-2.4
Commit: 3a9091b65fd5e2dbd1cc5435319034e9056fd926
Parents: d0efcd8
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Thu Aug 4 10:09:09 2016 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Thu Aug 4 10:10:09 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/3a9091b6/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 4e90ead..de7603f 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([{