You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2014/07/09 17:28:51 UTC

git commit: AMBARI-6439 Filter state does not clear in Background Operation popup and causes a lot of confusion. (ababiichuk)

Repository: ambari
Updated Branches:
  refs/heads/branch-1.6.1 22115a021 -> 1f85bdc9b


AMBARI-6439 Filter state does not clear in Background Operation popup and causes a lot of confusion. (ababiichuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/1f85bdc9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/1f85bdc9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/1f85bdc9

Branch: refs/heads/branch-1.6.1
Commit: 1f85bdc9ba37d2e011a11560777b7d106a21c054
Parents: 22115a0
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Wed Jul 9 18:10:45 2014 +0300
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Wed Jul 9 18:10:45 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/utils/host_progress_popup.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/1f85bdc9/ambari-web/app/utils/host_progress_popup.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/host_progress_popup.js b/ambari-web/app/utils/host_progress_popup.js
index cfc06d1..3c63965 100644
--- a/ambari-web/app/utils/host_progress_popup.js
+++ b/ambari-web/app/utils/host_progress_popup.js
@@ -734,12 +734,16 @@ App.HostPopup = Em.Object.create({
             levelInfo.set('name', levelName);
             if (levelName === 'HOSTS_LIST') {
               this.set('isLevelLoaded', dataSourceController.requestMostRecent());
+              this.set('hostCategory', this.get('categories').findProperty('value','all'));
             } else if (levelName === 'TASK_DETAILS') {
               dataSourceController.requestMostRecent();
               this.set('isLevelLoaded', false);
             } else if (levelName === 'REQUESTS_LIST') {
+              this.set('serviceCategory', this.get('categories').findProperty('value','all'));
               this.get('controller.hosts').clear();
               dataSourceController.requestMostRecent();
+            } else {
+              this.set('taskCategory', this.get('categories').findProperty('value','all'));
             }
           } else if (securityControllers.contains(dataSourceController.get('name'))) {
             if (levelName === 'TASK_DETAILS') {