You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2014/07/14 14:19:17 UTC

git commit: AMBARI-6474. Error during host-component restart is rendered in title font. (Max Shepel via akovalenko)

Repository: ambari
Updated Branches:
  refs/heads/trunk 03cbafb35 -> 64a6c0323


AMBARI-6474. Error during host-component restart is rendered in title font. (Max Shepel via akovalenko)


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

Branch: refs/heads/trunk
Commit: 64a6c03239b3f3ec1194beb7669dc3248b722569
Parents: 03cbafb
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Mon Jul 14 15:15:26 2014 +0300
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Mon Jul 14 15:15:26 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/utils/ajax/ajax.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/64a6c032/ambari-web/app/utils/ajax/ajax.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/ajax/ajax.js b/ambari-web/app/utils/ajax/ajax.js
index 702b5b1..73b66d5 100644
--- a/ambari-web/app/utils/ajax/ajax.js
+++ b/ambari-web/app/utils/ajax/ajax.js
@@ -1865,7 +1865,7 @@ var ajax = Em.Object.extend({
     var statusCode = jqXHR.status + " status code";
     if (jqXHR.status === showStatus && !this.modalPopup) {
       this.modalPopup = App.ModalPopup.show({
-        header: jqXHR.statusText,
+        header: Em.I18n.t('common.error'),
         secondary: false,
         onPrimary: function () {
           this.hide();