Browse Source

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

Aleksandr Kovalenko 11 years ago
parent
commit
64a6c03239
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-web/app/utils/ajax/ajax.js

+ 1 - 1
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();