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);


Reply via email to