浏览代码

AMBARI-1771. On clicking master component host on Oozie and Hive service page javascript error is encountered. (jaimin)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1463655 13f79535-47bb-0310-9956-ffa450edef68
Jaimin Jetly 12 年之前
父节点
当前提交
8598e0fce0

+ 3 - 0
CHANGES.txt

@@ -544,6 +544,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1771. On clicking master component host on Oozie and Hive
+ service page javascript error is encountered.(jaimin)
+
  AMBARI-1767. Add ability to customize "ambari_qa" user. (smohanty)
 
  AMBARI-1770. Hue installation fails due to manifest errors. (swagle)

+ 1 - 1
ambari-web/app/templates/main/service/info/summary/hive.hbs

@@ -23,7 +23,7 @@
         {{view view.componentNameView compBinding="component"}}
       </td>
       <td>
-        <a href="#" {{action selectHost component.hostRaw}}>{{component.host.publicHostName}}</a>
+        <a href="#" {{action selectHost component.host}}>{{component.host.publicHostName}}</a>
       </td>
     </tr>
   {{/if}}

+ 1 - 1
ambari-web/app/templates/main/service/info/summary/oozie.hbs

@@ -20,7 +20,7 @@
   {{#if component.isMaster}}
     <tr>
       <td class="summary-label">{{t common.servers}}</td>
-      <td><a {{action selectHost component.hostRaw}} href="javascript:void(null)">{{component.host.publicHostName}}</a></td>
+      <td><a {{action selectHost component.host}} href="javascript:void(null)">{{component.host.publicHostName}}</a></td>
     </tr>
   {{/if}}
 {{/each}}