You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2016/02/18 14:33:38 UTC

[19/33] ambari git commit: AMBARI-15062. Combo Search: Create auto suggest for Component State filter (Joe Wang via rzang)

AMBARI-15062. Combo Search: Create auto suggest for Component State filter (Joe Wang via rzang)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 4124ae032646ca3f7bbea19288da9cba259933e5
Parents: d4b67b1
Author: Richard Zang <rz...@apache.org>
Authored: Wed Feb 17 11:00:59 2016 -0800
Committer: Richard Zang <rz...@apache.org>
Committed: Wed Feb 17 11:00:59 2016 -0800

----------------------------------------------------------------------
 ambari-web/app/controllers/main/host/combo_search_box.js | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4124ae03/ambari-web/app/controllers/main/host/combo_search_box.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/host/combo_search_box.js b/ambari-web/app/controllers/main/host/combo_search_box.js
index d835e97..f4cc50f 100644
--- a/ambari-web/app/controllers/main/host/combo_search_box.js
+++ b/ambari-web/app/controllers/main/host/combo_search_box.js
@@ -88,13 +88,7 @@ App.MainHostComboSearchBoxController = Em.Controller.extend({
           callback(App.HostComponent.find().toArray().mapProperty('componentName').uniq(), {preserveOrder: true});
           break;
         case 'state':
-          callback([
-            Em.I18n.t('common.started'),
-            Em.I18n.t('common.stopped'),
-            Em.I18n.t('hosts.host.stackVersions.status.install_failed'),
-            Em.I18n.t('hosts.host.decommissioning'),
-            Em.I18n.t('hosts.host.decommissioned')
-          ], {preserveOrder: true});
+          callback(App.HostComponentStatus.getStatusesList(), {preserveOrder: true});
           break;
       }
     }