Explorar o código

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

Aleksandr Kovalenko %!s(int64=11) %!d(string=hai) anos
pai
achega
64a6c03239
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();