ソースを参照

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

Aleksandr Kovalenko 11 年 前
コミット
64a6c03239
1 ファイル変更1 行追加1 行削除
  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";
     var statusCode = jqXHR.status + " status code";
     if (jqXHR.status === showStatus && !this.modalPopup) {
     if (jqXHR.status === showStatus && !this.modalPopup) {
       this.modalPopup = App.ModalPopup.show({
       this.modalPopup = App.ModalPopup.show({
-        header: jqXHR.statusText,
+        header: Em.I18n.t('common.error'),
         secondary: false,
         secondary: false,
         onPrimary: function () {
         onPrimary: function () {
           this.hide();
           this.hide();