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/05/17 02:28:51 UTC

svn commit: r1483618 - in /incubator/ambari/trunk: CHANGES.txt ambari-web/app/models/host.js ambari-web/app/templates/main/host.hbs ambari-web/app/templates/main/host/details.hbs

Author: yusaku
Date: Fri May 17 00:28:51 2013
New Revision: 1483618

URL: http://svn.apache.org/r1483618
Log:
AMBARI-2152. Sometimes stale host / host component indicators are shown. (yusaku)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-web/app/models/host.js
    incubator/ambari/trunk/ambari-web/app/templates/main/host.hbs
    incubator/ambari/trunk/ambari-web/app/templates/main/host/details.hbs

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1483618&r1=1483617&r2=1483618&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Fri May 17 00:28:51 2013
@@ -862,6 +862,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-2152. Sometimes stale host / host component indicators are shown.
+ (yusaku)
+
  AMBARI-2151. Incorrect error message for invalid user name. (yusaku)
 
  AMBARI-2149. Ambari needs to set right path for GC log directory of Hbase

Modified: incubator/ambari/trunk/ambari-web/app/models/host.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/models/host.js?rev=1483618&r1=1483617&r2=1483618&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/models/host.js (original)
+++ incubator/ambari/trunk/ambari-web/app/models/host.js Fri May 17 00:28:51 2013
@@ -192,7 +192,7 @@ App.Host = DS.Model.extend({
         break;
     }
     return output;
-  }.property('healthClass')
+  }.property('hostComponents.@each.workStatus')
 });
 
 App.Host.FIXTURES = [];
\ No newline at end of file

Modified: incubator/ambari/trunk/ambari-web/app/templates/main/host.hbs
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/templates/main/host.hbs?rev=1483618&r1=1483617&r2=1483618&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/templates/main/host.hbs (original)
+++ incubator/ambari/trunk/ambari-web/app/templates/main/host.hbs Fri May 17 00:28:51 2013
@@ -76,7 +76,7 @@
     {{#view view.HostView contentBinding="host"}}
 
       <td class="first">
-        <span rel="HealthTooltip" {{bindAttr class="host.healthClass"}} {{bindAttr title="host.healthToolTip" }}></span>
+        <span rel="HealthTooltip" {{bindAttr class="host.healthClass"}} {{bindAttr data-original-title="host.healthToolTip" }}></span>
       </td>
 
       <td class="name">

Modified: incubator/ambari/trunk/ambari-web/app/templates/main/host/details.hbs
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/templates/main/host/details.hbs?rev=1483618&r1=1483617&r2=1483618&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/templates/main/host/details.hbs (original)
+++ incubator/ambari/trunk/ambari-web/app/templates/main/host/details.hbs Fri May 17 00:28:51 2013
@@ -17,7 +17,7 @@
 }}
 
 <div id="host-details">
-  <span rel="HealthTooltip" {{bindAttr class="view.content.healthClass"}} {{bindAttr title="view.content.healthToolTip" }}></span><span class='host-title'>{{unbound view.content.publicHostName}}</span>
+  <span rel="HealthTooltip" {{bindAttr class="view.content.healthClass"}} {{bindAttr data-original-title="view.content.healthToolTip" }}></span><span class='host-title'>{{unbound view.content.publicHostName}}</span>
   {{#if view.content.criticalAlertsCount}}
     <span class="label label-important alerts-count" {{action "showAlertsPopup" content target="App.router.mainHostController"}}>{{view.content.criticalAlertsCount}}</span>
   {{else}}