incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject svn commit: r1496717 - /incubator/ambari/branches/branch-1.2.5/ambari-web/app/views/main/apps_view.js
Date Wed, 26 Jun 2013 02:43:05 GMT
Author: yusaku
Date: Wed Jun 26 02:43:05 2013
New Revision: 1496717

URL: http://svn.apache.org/r1496717
Log:
AMBARI-2483. Jobs page: clear filter button does not appear after coming back. (Oleg Nechiporenko
via yusaku)

Modified:
    incubator/ambari/branches/branch-1.2.5/ambari-web/app/views/main/apps_view.js

Modified: incubator/ambari/branches/branch-1.2.5/ambari-web/app/views/main/apps_view.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/branch-1.2.5/ambari-web/app/views/main/apps_view.js?rev=1496717&r1=1496716&r2=1496717&view=diff
==============================================================================
--- incubator/ambari/branches/branch-1.2.5/ambari-web/app/views/main/apps_view.js (original)
+++ incubator/ambari/branches/branch-1.2.5/ambari-web/app/views/main/apps_view.js Wed Jun
26 02:43:05 2013
@@ -267,6 +267,14 @@ App.MainAppsView = Em.View.extend({
    * data, and subsequently the popup dialog.
    */
   didInsertElement: function(){
+    var self = this;
+    Em.run.next(function() {
+      self.get('_childViews').forEach(function(childView) {
+        if(childView['showClearFilter']) {
+          childView.showClearFilter();
+        }
+      });
+    });
     App.router.get('mainAppsItemController').set('lastJobId', null);
     this.onChangeViewType();
   },



Mime
View raw message