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/04/24 01:14:35 UTC

svn commit: r1471200 - in /incubator/ambari/trunk: CHANGES.txt ambari-web/app/views/main/apps_view.js

Author: yusaku
Date: Tue Apr 23 23:14:35 2013
New Revision: 1471200

URL: http://svn.apache.org/r1471200
Log:
AMBARI-2001. Filtering on Jobs table does not work under certain situations. (yusaku)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-web/app/views/main/apps_view.js

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1471200&r1=1471199&r2=1471200&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Tue Apr 23 23:14:35 2013
@@ -774,6 +774,9 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-2001. Filtering on Jobs table does not work under certain situations.
+ (yusaku)
+
  AMBARI-2000. Undo links still remain after the config changes are saved.
  (yusaku)
 

Modified: incubator/ambari/trunk/ambari-web/app/views/main/apps_view.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/views/main/apps_view.js?rev=1471200&r1=1471199&r2=1471200&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/views/main/apps_view.js (original)
+++ incubator/ambari/trunk/ambari-web/app/views/main/apps_view.js Tue Apr 23 23:14:35 2013
@@ -255,7 +255,7 @@ App.MainAppsView = Em.View.extend({
    */
   clickViewType: function (event) {
     this.set("controller.filterObject.viewTypeClickEvent", true);
-    if ($(event.target).hasClass("filtered")) {
+    if ($(event.target).hasClass("filtered") || $(event.target.parentNode).hasClass("filtered")) {
       this.set("controller.filterObject.viewType", "filtered");
     } else {
       this.set("controller.filterObject.allFilterActivated", true);