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/06/19 20:14:04 UTC

svn commit: r1494719 - /incubator/ambari/branches/branch-1.4.0/ambari-web/app/controllers/main/apps/item_controller.js

Author: yusaku
Date: Wed Jun 19 18:14:04 2013
New Revision: 1494719

URL: http://svn.apache.org/r1494719
Log:
AMBARI-2289. Job Charts popup does not appear. (Oleg Nechiporenko via yusaku)

Modified:
    incubator/ambari/branches/branch-1.4.0/ambari-web/app/controllers/main/apps/item_controller.js

Modified: incubator/ambari/branches/branch-1.4.0/ambari-web/app/controllers/main/apps/item_controller.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-1.4.0/ambari-web/app/controllers/main/apps/item_controller.js?rev=1494719&r1=1494718&r2=1494719&view=diff
==============================================================================
--- incubator/ambari/branches/branch-1.4.0/ambari-web/app/controllers/main/apps/item_controller.js (original)
+++ incubator/ambari/branches/branch-1.4.0/ambari-web/app/controllers/main/apps/item_controller.js Wed Jun 19 18:14:04 2013
@@ -28,16 +28,11 @@ App.MainAppsItemController = Em.Controll
   content: [],
   jobsLoaded:false,
 
-  lastJobId : null,
   gettingJobs:function(){
     var currentId = this.get('content.id');
-    if(currentId == this.get('lastJobId')){
-      return;
-    }
     if(this.get('content.loadAllJobs')){
       return;
     }
-    this.set('lastJobId', currentId);
     var self = this;
 
     if (!App.testMode && stringUtils.compareVersions(App.get('currentStackVersionNumber'), "2.0") === -1) {