Return-Path: X-Original-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F7F710AD7 for ; Wed, 26 Jun 2013 02:43:28 +0000 (UTC) Received: (qmail 37917 invoked by uid 500); 26 Jun 2013 02:43:27 -0000 Delivered-To: apmail-incubator-ambari-commits-archive@incubator.apache.org Received: (qmail 37907 invoked by uid 500); 26 Jun 2013 02:43:27 -0000 Mailing-List: contact ambari-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-commits@incubator.apache.org Received: (qmail 37899 invoked by uid 99); 26 Jun 2013 02:43:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jun 2013 02:43:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jun 2013 02:43:24 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 6573123888FE; Wed, 26 Jun 2013 02:43:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: ambari-commits@incubator.apache.org From: yusaku@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130626024305.6573123888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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(); },