You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2016/06/27 18:49:22 UTC

ambari git commit: AMBARI-17410. Incorrect error message for invalid category in Host Combo Search Box (alexantonenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk dffff6ca8 -> b206361d5


AMBARI-17410. Incorrect error message for invalid category in Host Combo Search Box (alexantonenko)


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

Branch: refs/heads/trunk
Commit: b206361d50e2ca950fb5c645fd961ba0f3e1ac77
Parents: dffff6c
Author: Alex Antonenko <hi...@gmail.com>
Authored: Mon Jun 27 21:49:14 2016 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Mon Jun 27 21:49:14 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/views/main/host/combo_search_box.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b206361d/ambari-web/app/views/main/host/combo_search_box.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/host/combo_search_box.js b/ambari-web/app/views/main/host/combo_search_box.js
index 54c2df4..29a35ef 100644
--- a/ambari-web/app/views/main/host/combo_search_box.js
+++ b/ambari-web/app/views/main/host/combo_search_box.js
@@ -195,7 +195,7 @@ App.MainHostComboSearchBoxView = Em.View.extend({
   },
 
   showErrMsg: function(category) {
-    this.set('errMsg', category+ " " + Em.I18n.t('hosts.combo.search.invalidCategory'));
+    this.set('errMsg', category.attributes.value + " " + Em.I18n.t('hosts.combo.search.invalidCategory'));
   },
 
   clearErrMsg: function() {
@@ -347,4 +347,4 @@ App.MainHostComboSearchBoxView = Em.View.extend({
     }
     return filterValue;
   }
-});
\ No newline at end of file
+});