ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-17410. Incorrect error message for invalid category in Host Combo Search Box (alexantonenko)
Date Mon, 27 Jun 2016 18:49:22 GMT
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 <hiveww@gmail.com>
Authored: Mon Jun 27 21:49:14 2016 +0300
Committer: Alex Antonenko <hiveww@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
+});


Mime
View raw message