Repository: ambari Updated Branches: refs/heads/trunk d4b67b1fd -> 4124ae032
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/trunk Commit: 4124ae032646ca3f7bbea19288da9cba259933e5 Parents: d4b67b1 Author: Richard Zang <[email protected]> Authored: Wed Feb 17 11:00:59 2016 -0800 Committer: Richard Zang <[email protected]> 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; } }
