AMBARI-18709 - Javascript Error When Using ComponentState Filter On Host Page (rzang)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ae6e2047 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ae6e2047 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ae6e2047 Branch: refs/heads/branch-feature-AMBARI-18634 Commit: ae6e204732af54780f9177c840ef8649b48ba84a Parents: 93a3fe1 Author: Richard Zang <[email protected]> Authored: Wed Oct 26 14:10:00 2016 -0700 Committer: Richard Zang <[email protected]> Committed: Wed Oct 26 14:10:00 2016 -0700 ---------------------------------------------------------------------- ambari-web/app/controllers/main/host/combo_search_box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/ae6e2047/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 4ab3b7c..dedd290 100644 --- a/ambari-web/app/controllers/main/host/combo_search_box.js +++ b/ambari-web/app/controllers/main/host/combo_search_box.js @@ -74,7 +74,7 @@ App.MainHostComboSearchBoxController = Em.Controller.extend({ createComboParamURL: function(pHash, expressions) { var self = this; var result = ''; - for (key in pHash) { + for (var key in pHash) { var v = pHash[key]; if (Em.isArray(v)) { var ex = '(';
