Browse Source

AMBARI-1367. Job# for Mapreduce jobs is seen as x. (jaimin)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1443737 13f79535-47bb-0310-9956-ffa450edef68
Jaimin Jetly 12 years ago
parent
commit
b138b8d2ee
2 changed files with 5 additions and 0 deletions
  1. 2 0
      CHANGES.txt
  2. 3 0
      ambari-web/app/views/main/apps/item/dag_view.js

+ 2 - 0
CHANGES.txt

@@ -262,6 +262,8 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1367. Job# for Mapreduce jobs is seen as x. (jaimin)
+
  AMBARI-1363. Graphs jump around upon loading. (jaimin)
 
  AMBARI-1362. Alerts for the hosts with ZooKeeper Server grows on every poll. (jaimin)

+ 3 - 0
ambari-web/app/views/main/apps/item/dag_view.js

@@ -65,6 +65,9 @@ App.MainAppsItemDagView = Em.View.extend({
 
     Ember.run.next(function(){
       self.draw();
+      if (self.get('jobs').length === 1) {
+        self.$().find('table tr td:first-child, table tr th:first-child').remove();
+      }
     });
 
   }.observes('controller.content.loadAllJobs'),