You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2013/10/08 10:23:43 UTC
git commit: AMBARI-3437. UI gets stuck upon page refresh on WebHCat
and Nagios service pages. (atkach via yusaku)
Updated Branches:
refs/heads/branch-1.4.1 81bf224fd -> c46e157d9
AMBARI-3437. UI gets stuck upon page refresh on WebHCat and Nagios service pages. (atkach via yusaku)
Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/c46e157d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/c46e157d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/c46e157d
Branch: refs/heads/branch-1.4.1
Commit: c46e157d9a10f8bc7e90bdd49b8f17bb56b37c81
Parents: 81bf224
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Tue Oct 8 01:23:05 2013 -0700
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Tue Oct 8 01:23:28 2013 -0700
----------------------------------------------------------------------
.../app/templates/main/service/info/summary.hbs | 14 --------------
ambari-web/app/views/main/service/info/summary.js | 1 +
2 files changed, 1 insertion(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/c46e157d/ambari-web/app/templates/main/service/info/summary.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/info/summary.hbs b/ambari-web/app/templates/main/service/info/summary.hbs
index 9fb6a50..900128d 100644
--- a/ambari-web/app/templates/main/service/info/summary.hbs
+++ b/ambari-web/app/templates/main/service/info/summary.hbs
@@ -28,20 +28,6 @@
<tbody>
{{#if view.noTemplateService}}
{{view view.sumMasterComponentView}}
- {{#each component in view.components}}
- {{#unless component.isMaster}}
- <tr>
- <td class="summary-label">{{component.displayName}}{{#if view.hasManyClients}}s{{/if}}</td>
- <td>
- <span class="green-live">{{view.clients.length}}</span>
- {{component.displayName}} {{#if view.hasManyClients}}s{{/if}} {{t common.installed}}
- <div class="summary-view-host">
- <a {{action filterHosts component}} href="javascript:void(null)">{{view.clientsHostText}}</a>
- </div>
- </td>
- </tr>
- {{/unless}}
- {{/each}}
{{/if}}
{{#if view.serviceStatus.hdfs}}
{{view App.MainDashboardServiceHdfsView showOnlyRows=true serviceBinding="view.service"}}
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/c46e157d/ambari-web/app/views/main/service/info/summary.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/info/summary.js b/ambari-web/app/views/main/service/info/summary.js
index cba1a95..a962f47 100644
--- a/ambari-web/app/views/main/service/info/summary.js
+++ b/ambari-web/app/views/main/service/info/summary.js
@@ -58,6 +58,7 @@ App.MainServiceInfoSummaryView = Em.View.extend({
noTemplateService: function () {
var serviceName = this.get("service.serviceName");
+ //services with only master components
if(serviceName == "WEBHCAT" || serviceName == "NAGIOS"){
return true;
}else{