You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2015/08/18 14:51:42 UTC
ambari git commit: AMBARI-12806. Status marker xpath for components
does not update dynamically on host details page (akovalenko)
Repository: ambari
Updated Branches:
refs/heads/trunk c956f210c -> a6a0a5caa
AMBARI-12806. Status marker xpath for components does not update dynamically on host details page (akovalenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a6a0a5ca
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a6a0a5ca
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a6a0a5ca
Branch: refs/heads/trunk
Commit: a6a0a5caa277a8b67e52329f3633f62eca684547
Parents: c956f21
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Tue Aug 18 15:49:44 2015 +0300
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Tue Aug 18 15:49:44 2015 +0300
----------------------------------------------------------------------
ambari-web/app/models/host.js | 2 +-
ambari-web/app/views/main/host/details.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/a6a0a5ca/ambari-web/app/models/host.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/host.js b/ambari-web/app/models/host.js
index 53e3472..c268d44 100644
--- a/ambari-web/app/models/host.js
+++ b/ambari-web/app/models/host.js
@@ -272,7 +272,7 @@ App.Host = DS.Model.extend({
break;
}
return output;
- }.property('notStartedComponents')
+ }.property('passiveState', 'healthClass', 'notStartedComponents.@each')
});
App.Host.FIXTURES = [];
http://git-wip-us.apache.org/repos/asf/ambari/blob/a6a0a5ca/ambari-web/app/views/main/host/details.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/host/details.js b/ambari-web/app/views/main/host/details.js
index 2c5cb22..3113135 100644
--- a/ambari-web/app/views/main/host/details.js
+++ b/ambari-web/app/views/main/host/details.js
@@ -62,11 +62,11 @@ App.MainHostDetailsView = Em.View.extend({
this.set('isLoaded', App.Host.find(this.get('content.id')).get('isLoaded'));
App.router.get('updateController').updateHost(function () {
self.set('isLoaded', true);
+ App.tooltip($("[rel='HealthTooltip']"));
if (!self.get('content.isLoaded')) {
//if host is not existed then route to list of hosts
App.router.transitionTo('main.hosts.index');
}
});
- App.tooltip($("[rel='HealthTooltip']"));
}
});