EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
notifyWait usage
Yuri Kuznetsov2c4779a98c33
diff --git a/client/modules/crm/src/handlers/knowledge-base-article/move.js b/client/modules/crm/src/handlers/knowledge-base-article/move.jsindex fd068769f0..38beabfa57 100644--- a/client/modules/crm/src/handlers/knowledge-base-article/move.js+++ b/client/modules/crm/src/handlers/knowledge-base-article/move.js@@ -67,7 +67,7 @@ class MoveActionHandler extends RowActionHandler {return;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('KnowledgeBaseArticle/action/moveToTop', {id: model.id,@@ -85,7 +85,7 @@ class MoveActionHandler extends RowActionHandler {return;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('KnowledgeBaseArticle/action/moveUp', {id: model.id,@@ -103,7 +103,7 @@ class MoveActionHandler extends RowActionHandler {return;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('KnowledgeBaseArticle/action/moveDown', {id: model.id,@@ -121,7 +121,7 @@ class MoveActionHandler extends RowActionHandler {return;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('KnowledgeBaseArticle/action/moveToBottom', {id: model.id,diff --git a/client/modules/crm/src/handlers/knowledge-base-article/send-in-email.js b/client/modules/crm/src/handlers/knowledge-base-article/send-in-email.jsindex 04570eeb29..29984b96bf 100644--- a/client/modules/crm/src/handlers/knowledge-base-article/send-in-email.js+++ b/client/modules/crm/src/handlers/knowledge-base-article/send-in-email.js@@ -39,7 +39,7 @@ class SendInEmailHandler extends RowActionHandler {const modelFactory = this.view.getModelFactory();const collectionFactory = this.view.getCollectionFactory();- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();model.fetch().then(() => {diff --git a/client/modules/crm/src/views/calendar/calendar.js b/client/modules/crm/src/views/calendar/calendar.jsindex 3fb8e9cbee..1ba73876a4 100644--- a/client/modules/crm/src/views/calendar/calendar.js+++ b/client/modules/crm/src/views/calendar/calendar.js@@ -910,7 +910,7 @@ class CalendarView extends View {const viewName = this.getMetadata().get(['clientDefs', scope, 'modalViews', 'detail']) ||'views/modals/detail';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('quickView', viewName, {scope: scope,@@ -1210,7 +1210,7 @@ class CalendarView extends View {attributes.assignedUserName = this.options.userName || this.options.userId;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('quickEdit', 'crm:views/calendar/modals/edit', {attributes: attributes,@@ -1265,7 +1265,7 @@ class CalendarView extends View {url += '&agenda=' + encodeURIComponent(agenda);if (!this.suppressLoadingAlert) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();}Espo.Ajax.getRequest(url).then(data => {diff --git a/client/modules/crm/src/views/calendar/modals/edit-view.js b/client/modules/crm/src/views/calendar/modals/edit-view.jsindex 12ebd1c40b..640564df50 100644--- a/client/modules/crm/src/views/calendar/modals/edit-view.js+++ b/client/modules/crm/src/views/calendar/modals/edit-view.js@@ -192,7 +192,7 @@ define('crm:views/calendar/modals/edit-view', ['views/modal', 'model'], function}});- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.getPreferences().save({diff --git a/client/modules/crm/src/views/calendar/modals/edit.js b/client/modules/crm/src/views/calendar/modals/edit.jsindex bd2e558dfc..9af91ae9b5 100644--- a/client/modules/crm/src/views/calendar/modals/edit.js+++ b/client/modules/crm/src/views/calendar/modals/edit.js@@ -49,7 +49,7 @@ class CalenderEditModalView extends EditModalView {additionalEvents = {/** @this CalenderEditModalView */'change .scope-switcher input[name="scope"]': function () {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const prevScope = this.scope;diff --git a/client/modules/crm/src/views/calendar/timeline.js b/client/modules/crm/src/views/calendar/timeline.jsindex bf4573c5e4..207f89e08d 100644--- a/client/modules/crm/src/views/calendar/timeline.js+++ b/client/modules/crm/src/views/calendar/timeline.js@@ -671,7 +671,7 @@ class TimelineView extends View {attributes.assignedUserName = userName || userId;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('quickEdit', 'crm:views/calendar/modals/edit', {attributes: attributes,@@ -688,7 +688,7 @@ class TimelineView extends View {}viewEvent(scope, id) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get(['clientDefs', scope, 'modalViews', 'detail']) ||'views/modals/detail';@@ -931,7 +931,7 @@ class TimelineView extends View {fetchEvents(from, to, callback) {if (!this.options.noFetchLoadingMessage) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();}from = from.clone().add((-1) * this.leftMargin, 'seconds');@@ -1004,7 +1004,7 @@ class TimelineView extends View {const viewName = this.getMetadata().get('clientDefs.' + this.foreignScope + '.modalViews.select') ||'views/modals/select-records';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('dialog', viewName, {scope: 'User',diff --git a/client/modules/crm/src/views/call/record/list.js b/client/modules/crm/src/views/call/record/list.jsindex 4e83ced3dd..e3fffe773e 100644--- a/client/modules/crm/src/views/call/record/list.js+++ b/client/modules/crm/src/views/call/record/list.js@@ -65,7 +65,7 @@ define('crm:views/call/record/list', ['views/record/list'], function (Dep) {this.collection.fetch();});- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();model.save();},diff --git a/client/modules/crm/src/views/campaign/record/detail.js b/client/modules/crm/src/views/campaign/record/detail.jsindex e0318a554e..59f96a28e3 100644--- a/client/modules/crm/src/views/campaign/record/detail.js+++ b/client/modules/crm/src/views/campaign/record/detail.js@@ -85,7 +85,7 @@ define('crm:views/campaign/record/detail', ['views/record/detail'], function (Dethis.listenToOnce(view, 'proceed', (link) => {this.clearView('dialog');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest(`Campaign/${this.model.id}/generateMailMerge`, {link: link}).then(response => {diff --git a/client/modules/crm/src/views/campaign/unsubscribe.js b/client/modules/crm/src/views/campaign/unsubscribe.jsindex bcb202d498..9a8a53705d 100644--- a/client/modules/crm/src/views/campaign/unsubscribe.js+++ b/client/modules/crm/src/views/campaign/unsubscribe.js@@ -52,7 +52,7 @@ class CampaignUnsubscribeView extends View {`Campaign/unsubscribe/${this.actionData.queueItemId}`;this.addActionHandler('subscribe', () => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.inProcess = true;this.reRender();@@ -75,7 +75,7 @@ class CampaignUnsubscribeView extends View {});this.addActionHandler('unsubscribe', () => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.inProcess = true;this.reRender();diff --git a/client/modules/crm/src/views/case/record/panels/activities.js b/client/modules/crm/src/views/case/record/panels/activities.jsindex 78b9a3f212..b3e3c3221a 100644--- a/client/modules/crm/src/views/case/record/panels/activities.js+++ b/client/modules/crm/src/views/case/record/panels/activities.js@@ -33,7 +33,7 @@ define('crm:views/case/record/panels/activities', ['crm:views/record/panels/actigetComposeEmailAttributes: function (scope, data, callback) {data = data || {};- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Dep.prototype.getComposeEmailAttributes.call(this, scope, data, attributes => {attributes.name = '[#' + this.model.get('number') + '] ' + this.model.get('name');diff --git a/client/modules/crm/src/views/dashlets/activities.js b/client/modules/crm/src/views/dashlets/activities.jsindex 477029abb8..74ab582d8f 100644--- a/client/modules/crm/src/views/dashlets/activities.js+++ b/client/modules/crm/src/views/dashlets/activities.js@@ -190,7 +190,7 @@ class ActivitiesDashletView extends BaseDashletView {*/async refreshInternal(options = {}) {if (!options.skipNotify) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();}await this.collection.fetch({@@ -212,7 +212,7 @@ class ActivitiesDashletView extends BaseDashletView {this.populateAttributesAssignedUser(scope, attributes);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get('clientDefs.' + scope + '.modalViews.edit') || 'views/modals/edit';@@ -235,7 +235,7 @@ class ActivitiesDashletView extends BaseDashletView {this.populateAttributesAssignedUser('Meeting', attributes);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get('clientDefs.Meeting.modalViews.edit') || 'views/modals/edit';@@ -258,7 +258,7 @@ class ActivitiesDashletView extends BaseDashletView {this.populateAttributesAssignedUser('Call', attributes);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get('clientDefs.Call.modalViews.edit') || 'views/modals/edit';diff --git a/client/modules/crm/src/views/knowledge-base-article/record/detail.js b/client/modules/crm/src/views/knowledge-base-article/record/detail.jsindex 713ff4a45d..b4b16acf37 100644--- a/client/modules/crm/src/views/knowledge-base-article/record/detail.js+++ b/client/modules/crm/src/views/knowledge-base-article/record/detail.js@@ -64,7 +64,7 @@ class KnowledgeBaseRecordDetailView extends DetailRecordView {// noinspection JSUnusedGlobalSymbolsactionSendInEmail() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const helper = new KnowledgeBaseHelper(this.getLanguage());diff --git a/client/modules/crm/src/views/lead/convert.js b/client/modules/crm/src/views/lead/convert.jsindex 199e70ff92..bd01225c86 100644--- a/client/modules/crm/src/views/lead/convert.js+++ b/client/modules/crm/src/views/lead/convert.js@@ -69,7 +69,7 @@ class ConvertLeadView extends MainView {this.wait(true);this.id = this.options.id;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.getModelFactory().create('Lead', model => {this.model = model;@@ -188,7 +188,7 @@ class ConvertLeadView extends MainView {const process = (data) => {this.$el.find('[data-action="convert"]').addClass('disabled');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('Lead/action/convert', data)diff --git a/client/modules/crm/src/views/meeting/detail.js b/client/modules/crm/src/views/meeting/detail.jsindex d1e9623d72..0077e4658c 100644--- a/client/modules/crm/src/views/meeting/detail.js+++ b/client/modules/crm/src/views/meeting/detail.js@@ -241,7 +241,7 @@ class MeetingDetailView extends DetailView {}actionSendInvitations() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('dialog', 'crm:views/meeting/modals/send-invitations', {model: this.model,@@ -254,7 +254,7 @@ class MeetingDetailView extends DetailView {}actionSendCancellation() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('dialog', 'crm:views/meeting/modals/send-cancellation', {model: this.model,@@ -277,7 +277,7 @@ class MeetingDetailView extends DetailView {this.listenTo(view, 'set-status', (status) => {this.disableMenuItem('setAcceptanceStatus');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest(this.model.entityType + '/action/setAcceptanceStatus', {diff --git a/client/modules/crm/src/views/meeting/modals/detail.js b/client/modules/crm/src/views/meeting/modals/detail.jsindex 01b7848917..ed6b99f801 100644--- a/client/modules/crm/src/views/meeting/modals/detail.js+++ b/client/modules/crm/src/views/meeting/modals/detail.js@@ -279,7 +279,7 @@ class MeetingModalDetailView extends DetailModalView {this.listenTo(view, 'set-status', (status) => {this.hideAcceptanceButton();- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest(this.model.entityType + '/action/setAcceptanceStatus', {@@ -342,7 +342,7 @@ class MeetingModalDetailView extends DetailModalView {}actionSendInvitations() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('dialog', 'crm:views/meeting/modals/send-invitations', {model: this.model,diff --git a/client/modules/crm/src/views/meeting/modals/send-cancellation.js b/client/modules/crm/src/views/meeting/modals/send-cancellation.jsindex 933cc1881e..cbd4e0ffe2 100644--- a/client/modules/crm/src/views/meeting/modals/send-cancellation.js+++ b/client/modules/crm/src/views/meeting/modals/send-cancellation.js@@ -169,7 +169,7 @@ define('crm:views/meeting/modals/send-cancellation', ['views/modal', 'collectionactionSend: function () {this.disableButton('send');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();let targets = this.getListView().checkedList.map(id => {return {diff --git a/client/modules/crm/src/views/meeting/modals/send-invitations.js b/client/modules/crm/src/views/meeting/modals/send-invitations.jsindex d36b58c05e..e20c57206f 100644--- a/client/modules/crm/src/views/meeting/modals/send-invitations.js+++ b/client/modules/crm/src/views/meeting/modals/send-invitations.js@@ -167,7 +167,7 @@ define('crm:views/meeting/modals/send-invitations', ['views/modal', 'collection'actionSend: function () {this.disableButton('send');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();let targets = this.getListView().checkedList.map(id => {return {diff --git a/client/modules/crm/src/views/opportunity/record/panels/activities.js b/client/modules/crm/src/views/opportunity/record/panels/activities.jsindex 9c613e1a42..f2660f4414 100644--- a/client/modules/crm/src/views/opportunity/record/panels/activities.js+++ b/client/modules/crm/src/views/opportunity/record/panels/activities.js@@ -33,7 +33,7 @@ define('crm:views/opportunity/record/panels/activities', ['crm:views/record/panegetComposeEmailAttributes: function (scope, data, callback) {data = data || {};- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Dep.prototype.getComposeEmailAttributes.call(this, scope, data, (attributes) => {Espo.Ajax.getRequest('Opportunity/action/emailAddressList?id=' + this.model.id).then(list => {diff --git a/client/modules/crm/src/views/record/panels/activities.js b/client/modules/crm/src/views/record/panels/activities.jsindex d6b5a9c167..199fde163f 100644--- a/client/modules/crm/src/views/record/panels/activities.js+++ b/client/modules/crm/src/views/record/panels/activities.js@@ -469,7 +469,7 @@ class ActivitiesPanelView extends RelationshipPanelView {};}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get('clientDefs.' + scope + '.modalViews.edit') ||'views/modals/edit';@@ -571,7 +571,7 @@ class ActivitiesPanelView extends RelationshipPanelView {}if (!attributes.to && this.isBasePlus()) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.getRequest(`Activities/${this.model.entityType}/${this.model.id}/composeEmailAddressList`).then(/** Record[] */list => {@@ -613,7 +613,7 @@ class ActivitiesPanelView extends RelationshipPanelView {};}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.getComposeEmailAttributes(scope, data, attributes => {this.createView('quickCreate', 'views/modals/compose-email', {diff --git a/client/modules/crm/src/views/record/panels/history.js b/client/modules/crm/src/views/record/panels/history.jsindex 82661b4d68..037813e094 100644--- a/client/modules/crm/src/views/record/panels/history.js+++ b/client/modules/crm/src/views/record/panels/history.js@@ -141,7 +141,7 @@ class HistoryPanelView extends ActivitiesPanelView {};}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get(`clientDefs.${scope}.modalViews.edit`) ||'views/modals/edit';@@ -178,7 +178,7 @@ class HistoryPanelView extends ActivitiesPanelView {this.getAcl());- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.getModelFactory().create('Email').then(model => {diff --git a/client/modules/crm/src/views/record/panels/tasks.js b/client/modules/crm/src/views/record/panels/tasks.jsindex 485b3fe628..63c2700357 100644--- a/client/modules/crm/src/views/record/panels/tasks.js+++ b/client/modules/crm/src/views/record/panels/tasks.js@@ -172,7 +172,7 @@ export default class TasksRelationshipPanelView extends RelationshipPanelView {const scope = 'Task';const foreignLink = this.model.defs['links'][link].foreign;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get(`clientDefs.${scope}.modalViews.edit`) ||'views/modals/edit';diff --git a/client/src/controllers/base.js b/client/src/controllers/base.jsindex cb05c2b7d2..5ba24de353 100644--- a/client/src/controllers/base.js+++ b/client/src/controllers/base.js@@ -190,7 +190,7 @@ class BaseController extends Controller {actionLogoutWait() {this.entire('views/base', {template: 'logout-wait'}, view => {view.render()- .then(() => Espo.Ui.notify(' ... '))+ .then(() => Espo.Ui.notifyWait())});}diff --git a/client/src/handlers/admin/address-country/populate-defaults.js b/client/src/handlers/admin/address-country/populate-defaults.jsindex 6f91648499..7d2c5a8aaa 100644--- a/client/src/handlers/admin/address-country/populate-defaults.js+++ b/client/src/handlers/admin/address-country/populate-defaults.js@@ -35,7 +35,7 @@ class PopulateDefaultsHandler extends ActionHandler {await this.view.confirm(confirmMessage);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await Espo.Ajax.postRequest('AddressCountry/action/populateDefaults');await this.view.collection.fetch();diff --git a/client/src/handlers/login/oidc.js b/client/src/handlers/login/oidc.jsindex 790ea204db..e17affbba6 100644--- a/client/src/handlers/login/oidc.js+++ b/client/src/handlers/login/oidc.js@@ -39,7 +39,7 @@ class OidcLoginHandler extends LoginHandler {'location=0,status=0,width=800,height=800');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();return new Promise((resolve, reject) => {Espo.Ajax.getRequest('Oidc/authorizationData')diff --git a/client/src/handlers/navbar-menu.js b/client/src/handlers/navbar-menu.jsindex 869760dad1..c5fcd7fb13 100644--- a/client/src/handlers/navbar-menu.js+++ b/client/src/handlers/navbar-menu.js@@ -36,7 +36,7 @@ class NavbarMenuHandler extends ActionHandler {// noinspection JSUnusedGlobalSymbolslastViewed() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.view.createView('dialog', 'views/modals/last-viewed', {}, view => {view.render();diff --git a/client/src/handlers/user/change-team-position-row-action.js b/client/src/handlers/user/change-team-position-row-action.jsindex cb5585ea32..eb466228b0 100644--- a/client/src/handlers/user/change-team-position-row-action.js+++ b/client/src/handlers/user/change-team-position-row-action.js@@ -81,7 +81,7 @@ export default class ChangeUserTeamPositionRowActionHandler extends RowActionHan* @param {string|null} position*/async savePosition(teamId, model, position) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await Espo.Ajax.putRequest(`Team/${teamId}/userPosition`, {id: model.id,diff --git a/client/src/helpers/record/select-related.js b/client/src/helpers/record/select-related.jsindex c9e4b3baae..ce49331775 100644--- a/client/src/helpers/record/select-related.js+++ b/client/src/helpers/record/select-related.js@@ -127,7 +127,7 @@ class SelectRelatedHelper {this.metadata.get(['clientDefs', scope, 'modalViews', viewKey]) ||'views/modals/select-records';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const handler = panelDefs.selectHandler || null;diff --git a/client/src/views/admin/entity-manager/formula.js b/client/src/views/admin/entity-manager/formula.jsindex 393451789e..56deb6cbd6 100644--- a/client/src/views/admin/entity-manager/formula.js+++ b/client/src/views/admin/entity-manager/formula.js@@ -142,7 +142,7 @@ class EntityManagerFormulaView extends View {this.disableButtons();- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('EntityManager/action/formula', {@@ -169,7 +169,7 @@ class EntityManagerFormulaView extends View {await this.confirm(this.translate('confirmation', 'messages'));this.disableButtons();- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();try {await Espo.Ajax.postRequest('EntityManager/action/resetFormulaToDefault', {diff --git a/client/src/views/admin/entity-manager/modals/export.js b/client/src/views/admin/entity-manager/modals/export.jsindex 21f242b965..61c77357ab 100644--- a/client/src/views/admin/entity-manager/modals/export.js+++ b/client/src/views/admin/entity-manager/modals/export.js@@ -143,7 +143,7 @@ class EntityManagerExportModalView extends ModalView {this.disableButton('export');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('EntityManager/action/exportCustom', data)diff --git a/client/src/views/admin/entity-manager/scope.js b/client/src/views/admin/entity-manager/scope.jsindex be9c613c97..2294e9be61 100644--- a/client/src/views/admin/entity-manager/scope.js+++ b/client/src/views/admin/entity-manager/scope.js@@ -201,7 +201,7 @@ class EntityManagerScopeView extends View {}editFormula() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.loader.requirePromise('views/admin/entity-manager/modals/select-formula').then(View => {diff --git a/client/src/views/admin/field-manager/edit.js b/client/src/views/admin/field-manager/edit.jsindex 131b9ff5db..2aa4c1f198 100644--- a/client/src/views/admin/field-manager/edit.js+++ b/client/src/views/admin/field-manager/edit.js@@ -713,7 +713,7 @@ class FieldManagerEditView extends View {this.broadcastUpdate();};- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();if (this.isNew) {this.modeldiff --git a/client/src/views/admin/field-manager/index.js b/client/src/views/admin/field-manager/index.jsindex 7bed47c9fd..a07477a64c 100644--- a/client/src/views/admin/field-manager/index.js+++ b/client/src/views/admin/field-manager/index.js@@ -119,7 +119,7 @@ class IndexFieldManagerView extends View {this.getRouter().navigate('#Admin/fieldManager/scope=' + scope, {trigger: false});- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('content', 'views/admin/field-manager/list', {fullSelector: '#fields-content',@@ -150,7 +150,7 @@ class IndexFieldManagerView extends View {this.getRouter().navigate('#Admin/fieldManager/scope=' + scope + '&field=' + field, {trigger: false});- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('content', 'views/admin/field-manager/edit', {fullSelector: '#fields-content',@@ -181,7 +181,7 @@ class IndexFieldManagerView extends View {this.getRouter().navigate('#Admin/fieldManager/scope=' + scope + '&type=' + type + '&create=true', {trigger: false});- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('content', 'views/admin/field-manager/edit', {fullSelector: '#fields-content',diff --git a/client/src/views/admin/field-manager/list.js b/client/src/views/admin/field-manager/list.jsindex ad692674bd..ce2688f786 100644--- a/client/src/views/admin/field-manager/list.js+++ b/client/src/views/admin/field-manager/list.js@@ -106,7 +106,7 @@ class FieldManagerListView extends View {.replace('{field}', field);this.confirm(msg, () => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.deleteRequest('Admin/fieldManager/' + this.scope + '/' + field).then(() => {Espo.Ui.success(this.translate('Removed'));diff --git a/client/src/views/admin/integrations/index.js b/client/src/views/admin/integrations/index.jsindex ecb4c4bbd2..636fbe2012 100644--- a/client/src/views/admin/integrations/index.js+++ b/client/src/views/admin/integrations/index.js@@ -107,7 +107,7 @@ export default class IntegrationsIndexView extends View {this.getRouter().navigate(`#Admin/integrations/name=${integration}`, {trigger: false});- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await this.createIntegrationView(integration);diff --git a/client/src/views/admin/label-manager/index.js b/client/src/views/admin/label-manager/index.jsindex 9ce22583b6..60aac4b61b 100644--- a/client/src/views/admin/label-manager/index.js+++ b/client/src/views/admin/label-manager/index.js@@ -152,7 +152,7 @@ class LabelManagerView extends View {}createRecordView() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('record', 'views/admin/label-manager/edit', {selector: '.language-record',diff --git a/client/src/views/admin/layouts/base.js b/client/src/views/admin/layouts/base.jsindex c207bfde6a..d7da26f508 100644--- a/client/src/views/admin/layouts/base.js+++ b/client/src/views/admin/layouts/base.js@@ -277,7 +277,7 @@ class LayoutBaseView extends View {.then(() => {this.disableButtons();- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('Layout/action/delete', {diff --git a/client/src/views/admin/layouts/index.js b/client/src/views/admin/layouts/index.jsindex 9370d0212d..d8b9d09cc1 100644--- a/client/src/views/admin/layouts/index.js+++ b/client/src/views/admin/layouts/index.js@@ -266,7 +266,7 @@ class LayoutIndexView extends View {this.navigate(scope, type);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const typeReal = this.getMetadata().get('clientDefs.' + scope + '.additionalLayouts.' + type + '.type') || type;diff --git a/client/src/views/admin/layouts/modals/create.js b/client/src/views/admin/layouts/modals/create.jsindex 38b83996d8..6e85ff6314 100644--- a/client/src/views/admin/layouts/modals/create.js+++ b/client/src/views/admin/layouts/modals/create.js@@ -145,7 +145,7 @@ class LayoutCreateModalView extends ModalView {this.disableButton('create');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('Layout/action/create', {diff --git a/client/src/views/admin/link-manager/modals/edit-params.js b/client/src/views/admin/link-manager/modals/edit-params.jsindex 982895c952..8d623565c0 100644--- a/client/src/views/admin/link-manager/modals/edit-params.js+++ b/client/src/views/admin/link-manager/modals/edit-params.js@@ -164,7 +164,7 @@ export default class LinkManagerEditParamsModalView extends ModalView {}this.disableAllActionItems();- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const params = {};@@ -197,7 +197,7 @@ export default class LinkManagerEditParamsModalView extends ModalView {*/async resetToDefault() {this.disableAllActionItems();- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();try {await Espo.Ajax.postRequest('EntityManager/action/resetLinkParamsToDefault', {diff --git a/client/src/views/admin/system-requirements/index.js b/client/src/views/admin/system-requirements/index.jsindex 7f6b2ee154..2ec2377735 100644--- a/client/src/views/admin/system-requirements/index.js+++ b/client/src/views/admin/system-requirements/index.js@@ -46,7 +46,7 @@ export default class extends View {setup() {this.requirements = {};- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const promise = Espo.Ajax.getRequest('Admin/action/systemRequirementList').then(requirements => {this.requirements = requirements;diff --git a/client/src/views/admin/template-manager/edit.js b/client/src/views/admin/template-manager/edit.jsindex 27c826ad7f..f8d68a170d 100644--- a/client/src/views/admin/template-manager/edit.js+++ b/client/src/views/admin/template-manager/edit.js@@ -211,7 +211,7 @@ export default class TemplateManagerEditView extends View {data.scope = this.scope;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('TemplateManager/action/resetTemplate', data).then(returnData => {diff --git a/client/src/views/admin/template-manager/index.js b/client/src/views/admin/template-manager/index.jsindex 8d5ef1ed74..05483bfa1c 100644--- a/client/src/views/admin/template-manager/index.js+++ b/client/src/views/admin/template-manager/index.js@@ -119,7 +119,7 @@ export default class TemplateManagerIndexView extends View {}createRecordView() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('record', 'views/admin/template-manager/edit', {selector: '.template-record',diff --git a/client/src/views/dashlet.js b/client/src/views/dashlet.jsindex c0f08146ae..c8e0608644 100644--- a/client/src/views/dashlet.js+++ b/client/src/views/dashlet.js@@ -165,7 +165,7 @@ class DashletView extends View {this.optionsView ||'views/dashlets/options/base';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('options', optionsView, {name: this.name,diff --git a/client/src/views/dashlets/abstract/record-list.js b/client/src/views/dashlets/abstract/record-list.jsindex bab29c3e57..dee198fdcd 100644--- a/client/src/views/dashlets/abstract/record-list.js+++ b/client/src/views/dashlets/abstract/record-list.js@@ -195,7 +195,7 @@ class RecordListDashletView extends BaseDashletView {}if (!options.skipNotify) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();}this.collection.where = this.searchManager.getWhere();@@ -226,7 +226,7 @@ class RecordListDashletView extends BaseDashletView {}}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get('clientDefs.' + this.scope + '.modalViews.edit') ||'views/modals/edit';diff --git a/client/src/views/dashlets/emails.js b/client/src/views/dashlets/emails.jsindex 93611a4fe6..34ad753b4b 100644--- a/client/src/views/dashlets/emails.js+++ b/client/src/views/dashlets/emails.js@@ -50,7 +50,7 @@ class EmailsDashletView extends RecordListDashletView {actionCompose() {const attributes = this.getCreateAttributes() || {};- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get('clientDefs.' + this.scope + '.modalViews.compose') ||'views/modals/compose-email';diff --git a/client/src/views/dashlets/stream.js b/client/src/views/dashlets/stream.jsindex a67a7d64c9..d7ac48b47a 100644--- a/client/src/views/dashlets/stream.js+++ b/client/src/views/dashlets/stream.js@@ -52,7 +52,7 @@ class StreamDashletView extends BaseDashletView {}if (!options.skipNotify) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();}await this.getRecordView().showNewRecords();diff --git a/client/src/views/detail.js b/client/src/views/detail.jsindex 07125caf73..a715c6d632 100644--- a/client/src/views/detail.js+++ b/client/src/views/detail.js@@ -360,7 +360,7 @@ class DetailView extends MainView {this.clearView('record');this.setViewMode(mode, true);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();if (this.modesView) {this.modesView.changeMode(mode);@@ -654,7 +654,7 @@ class DetailView extends MainView {* Action 'duplicate'.*/actionDuplicate() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest(this.scope + '/action/getDuplicateAttributes', {id: this.model.id})@@ -735,7 +735,7 @@ class DetailView extends MainView {return;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await this.model.fetch();diff --git a/client/src/views/email-account/fields/folders.js b/client/src/views/email-account/fields/folders.jsindex adc8933f01..df1bdfba22 100644--- a/client/src/views/email-account/fields/folders.js+++ b/client/src/views/email-account/fields/folders.js@@ -70,7 +70,7 @@ export default class extends ArrayFieldView {}actionAddItem() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.fetchFolders().then(options => {diff --git a/client/src/views/email-folder/modals/select-folder.js b/client/src/views/email-folder/modals/select-folder.jsindex 0722696c08..ac68b9244a 100644--- a/client/src/views/email-folder/modals/select-folder.js+++ b/client/src/views/email-folder/modals/select-folder.js@@ -83,7 +83,7 @@ export default class extends ModalView {});}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.wait(Espo.Ajax.getRequest('EmailFolder/action/listAll')diff --git a/client/src/views/email/detail.js b/client/src/views/email/detail.jsindex 18022bdf89..c4fa77c676 100644--- a/client/src/views/email/detail.js+++ b/client/src/views/email/detail.js@@ -245,7 +245,7 @@ class EmailDetailView extends DetailView {const viewName = this.getMetadata().get('clientDefs.Lead.modalViews.edit') || 'views/modals/edit';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('quickCreate', viewName, {scope: 'Lead',@@ -309,7 +309,7 @@ class EmailDetailView extends DetailView {const viewName = this.getMetadata().get('clientDefs.Case.modalViews.edit') || 'views/modals/edit';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();(new Promise(resolve => {if (!(this.model.get('attachmentsIds') || []).length) {@@ -366,7 +366,7 @@ class EmailDetailView extends DetailView {const viewName = this.getMetadata().get('clientDefs.Task.modalViews.edit') || 'views/modals/edit';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('quickCreate', viewName, {scope: 'Task',@@ -449,7 +449,7 @@ class EmailDetailView extends DetailView {const viewName = this.getMetadata().get('clientDefs.Contact.modalViews.edit') || 'views/modals/edit';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('quickCreate', viewName, {scope: 'Contact',@@ -483,7 +483,7 @@ class EmailDetailView extends DetailView {const attributes = emailHelper.getReplyAttributes(this.model, data, cc);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get('clientDefs.Email.modalViews.compose') ||'views/modals/compose-email';@@ -516,7 +516,7 @@ class EmailDetailView extends DetailView {this.getAcl());- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('Email/action/getDuplicateAttributes', {@@ -532,7 +532,7 @@ class EmailDetailView extends DetailView {attributes.attachmentsIds = duplicateAttributes.attachmentsIds;attributes.attachmentsNames = duplicateAttributes.attachmentsNames;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get('clientDefs.Email.modalViews.compose') ||'views/modals/compose-email';@@ -639,7 +639,7 @@ class EmailDetailView extends DetailView {attributes.accountsNames[this.model.get('accountId')] = this.model.get('accountName');}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('Attachment/copy/' + id, {relatedType: 'Document',diff --git a/client/src/views/email/fields/body.js b/client/src/views/email/fields/body.jsindex 702db34bb8..d44c861ef5 100644--- a/client/src/views/email/fields/body.js+++ b/client/src/views/email/fields/body.js@@ -125,7 +125,7 @@ class EmailBodyFieldView extends WysiwygFieldView {const parentId = this.model.get('parentId');const parentType = this.model.get('parentType');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('insertFieldDialog', 'views/email/modals/insert-field', {parentId: parentId,diff --git a/client/src/views/email/fields/from-address-varchar.js b/client/src/views/email/fields/from-address-varchar.jsindex 1ecaffb823..5eb96cf8b7 100644--- a/client/src/views/email/fields/from-address-varchar.js+++ b/client/src/views/email/fields/from-address-varchar.js@@ -474,7 +474,7 @@ class EmailFromAddressVarchar extends BaseFieldView {const viewName = this.getMetadata().get(`clientDefs.${scope}.modalViews.select`) ||'views/modals/select-records';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const filters = {};diff --git a/client/src/views/email/fields/has-attachment.js b/client/src/views/email/fields/has-attachment.jsindex 3013b8a49e..5213da0f64 100644--- a/client/src/views/email/fields/has-attachment.js+++ b/client/src/views/email/fields/has-attachment.js@@ -55,7 +55,7 @@ export default class extends BaseFieldView {* @private*/show() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('dialog', 'views/email/modals/attachments', {model: this.model}).then(view => {diff --git a/client/src/views/email/fields/subject.js b/client/src/views/email/fields/subject.jsindex 6bedc5a99c..77629552fa 100644--- a/client/src/views/email/fields/subject.js+++ b/client/src/views/email/fields/subject.js@@ -116,7 +116,7 @@ class EmailSubjectFieldView extends VarcharFieldView {}showAttachments() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('dialog', 'views/email/modals/attachments', {model: this.model}).then(view => {diff --git a/client/src/views/email/list.js b/client/src/views/email/list.jsindex cf5ee11034..4f54b46754 100644--- a/client/src/views/email/list.js+++ b/client/src/views/email/list.js@@ -419,7 +419,7 @@ class EmailListView extends ListView {actionComposeEmail(data) {data = data || {};- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get('clientDefs.Email.modalViews.compose') ||'views/modals/compose-email';@@ -538,7 +538,7 @@ class EmailListView extends ListView {xhr.abort();}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.collection.offset = 0;diff --git a/client/src/views/email/modals/import-eml.js b/client/src/views/email/modals/import-eml.jsindex a3afa05828..de85bde037 100644--- a/client/src/views/email/modals/import-eml.js+++ b/client/src/views/email/modals/import-eml.js@@ -87,7 +87,7 @@ class ImportEmlModal extends ModalView {}this.disableButton('import');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('Email/importEml', {fileId: this.model.attributes.fileId})diff --git a/client/src/views/email/modals/schedule-send.js b/client/src/views/email/modals/schedule-send.jsindex d75b0dda03..edadf7d6e4 100644--- a/client/src/views/email/modals/schedule-send.js+++ b/client/src/views/email/modals/schedule-send.js@@ -130,7 +130,7 @@ export default class EmailScheduleSendModalView extends ModalView {}this.disableButton('schedule');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.model.set({status: 'Draft',diff --git a/client/src/views/email/record/detail.js b/client/src/views/email/record/detail.jsindex c0495409c8..60fbb6114f 100644--- a/client/src/views/email/record/detail.js+++ b/client/src/views/email/record/detail.js@@ -401,7 +401,7 @@ class EmailDetailRecordView extends DetailRecordView {}actionMoveToArchive() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest(`Email/inbox/folders/archive`, {id: this.model.id}).then(() => {@@ -555,7 +555,7 @@ class EmailDetailRecordView extends DetailRecordView {}}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('modalRelatedList', viewName, options, (view) => {Espo.Ui.notify(false);diff --git a/client/src/views/email/record/list.js b/client/src/views/email/record/list.jsindex 96b63324a2..61a69eba75 100644--- a/client/src/views/email/record/list.js+++ b/client/src/views/email/record/list.js@@ -407,7 +407,7 @@ class EmailListRecordView extends ListRecordView {actionMoveToArchive(data) {const id = data.id;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('Email/inbox/folders/archive', {id: id})@@ -421,7 +421,7 @@ class EmailListRecordView extends ListRecordView {actionMoveToTrash(data) {const id = data.id;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('Email/inbox/inTrash', {id: id})@@ -436,7 +436,7 @@ class EmailListRecordView extends ListRecordView {actionRetrieveFromTrash(data) {const id = data.id;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.retrieveFromTrash(id).then(() => {@@ -484,7 +484,7 @@ class EmailListRecordView extends ListRecordView {const id = data.id;const folderId = data.folderId;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.retrieveFromTrash(id).then(() => {@@ -511,7 +511,7 @@ class EmailListRecordView extends ListRecordView {const folderId = data.folderId;if (folderId) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.moveToFolder(id, folderId).then(() => {@@ -549,7 +549,7 @@ class EmailListRecordView extends ListRecordView {this.listenToOnce(view, 'select', folderId => {this.clearView('dialog');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.moveToFolder(id, folderId).then(() => {diff --git a/client/src/views/external-account/index.js b/client/src/views/external-account/index.jsindex 01dadd9087..4330581b00 100644--- a/client/src/views/external-account/index.js+++ b/client/src/views/external-account/index.js@@ -82,7 +82,7 @@ class ExternalAccountIndex extends View {this.getMetadata().get(['integrations', integration, 'userView']) ||'views/external-account/' + Espo.Utils.camelCaseToHyphen(authMethod);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('content', viewName, {fullSelector: '#external-account-content',diff --git a/client/src/views/fields/attachment-multiple.js b/client/src/views/fields/attachment-multiple.jsindex 8ed8cb4674..793ae57fe9 100644--- a/client/src/views/fields/attachment-multiple.js+++ b/client/src/views/fields/attachment-multiple.js@@ -894,7 +894,7 @@ class AttachmentMultipleFieldView extends BaseFieldView {'views/modals/select-records';if (viewName) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();let filters = null;diff --git a/client/src/views/fields/email.js b/client/src/views/fields/email.jsindex 6c978315c6..468fab3323 100644--- a/client/src/views/fields/email.js+++ b/client/src/views/fields/email.js@@ -589,7 +589,7 @@ class EmailFieldView extends VarcharFieldView {const viewName = this.getMetadata().get('clientDefs.' + this.scope + '.modalViews.compose') || 'views/modals/compose-email';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('quickCreate', viewName, {attributes: attributes,diff --git a/client/src/views/fields/file.js b/client/src/views/fields/file.jsindex edb5069e40..4c09b2ed75 100644--- a/client/src/views/fields/file.js+++ b/client/src/views/fields/file.js@@ -757,7 +757,7 @@ class FileFieldView extends LinkFieldView {'views/modals/select-records';if (viewName) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();let filters = null;diff --git a/client/src/views/fields/link-multiple.js b/client/src/views/fields/link-multiple.jsindex 37a9ea2691..2bdbc4d98d 100644--- a/client/src/views/fields/link-multiple.js+++ b/client/src/views/fields/link-multiple.js@@ -1068,7 +1068,7 @@ class LinkMultipleFieldView extends BaseFieldView {* @protected*/actionSelect() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const panelDefs = this.panelDefs;@@ -1225,7 +1225,7 @@ class LinkMultipleFieldView extends BaseFieldView {const viewName = this.getMetadata().get(['clientDefs', this.foreignScope, 'modalViews', 'edit']) ||'views/modals/edit';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.getCreateAttributesProvider()().then(attributes => {this.createView('dialog', viewName, {diff --git a/client/src/views/fields/link-parent.js b/client/src/views/fields/link-parent.jsindex 6ca6cd0820..74d63ec140 100644--- a/client/src/views/fields/link-parent.js+++ b/client/src/views/fields/link-parent.js@@ -345,7 +345,7 @@ class LinkParentFieldView extends BaseFieldView {if (!this.isListMode()) {this.addActionHandler('selectLink', () => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get(`clientDefs.${this.foreignScope}.modalViews.select`) ||this.selectRecordsView;diff --git a/client/src/views/fields/link.js b/client/src/views/fields/link.jsindex bed4eda391..3db0b96d1b 100644--- a/client/src/views/fields/link.js+++ b/client/src/views/fields/link.js@@ -1134,7 +1134,7 @@ class LinkFieldView extends BaseFieldView {* @protected*/actionSelect() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const panelDefs = this.panelDefs;@@ -1293,7 +1293,7 @@ class LinkFieldView extends BaseFieldView {}actionSelectOneOf() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get(['clientDefs', this.foreignScope, 'modalViews', 'select']) ||this.selectRecordsView;@@ -1337,7 +1337,7 @@ class LinkFieldView extends BaseFieldView {const viewName = this.getMetadata().get(['clientDefs', this.foreignScope, 'modalViews', 'edit']) ||'views/modals/edit';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.getCreateAttributesProvider()().then(attributes => {this.createView('dialog', viewName, {diff --git a/client/src/views/fields/text.js b/client/src/views/fields/text.jsindex da0ab7520e..45c76d62e3 100644--- a/client/src/views/fields/text.js+++ b/client/src/views/fields/text.js@@ -544,7 +544,7 @@ class TextFieldView extends BaseFieldView {const viewName = this.getMetadata().get('clientDefs.' + this.scope + '.modalViews.compose') ||'views/modals/compose-email';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('quickCreate', viewName, {attributes: attributes,diff --git a/client/src/views/fields/user.js b/client/src/views/fields/user.jsindex e8023cdf4c..dbf642a698 100644--- a/client/src/views/fields/user.js+++ b/client/src/views/fields/user.js@@ -51,7 +51,7 @@ class UserFieldView extends LinkFieldView {};this.addActionHandler('selectLinkTeams', () => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get('clientDefs.Team.modalViews.select') ||'views/modals/select-records';diff --git a/client/src/views/global-stream.js b/client/src/views/global-stream.jsindex 279e730f6e..4d6c0eaacb 100644--- a/client/src/views/global-stream.js+++ b/client/src/views/global-stream.js@@ -101,7 +101,7 @@ class GlobalStreamView extends View {}fetchAndRender() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.collection.fetch().then(() => {diff --git a/client/src/views/group-email-folder/record/list.js b/client/src/views/group-email-folder/record/list.jsindex 9e3c3fcb00..07a1cbfd24 100644--- a/client/src/views/group-email-folder/record/list.js+++ b/client/src/views/group-email-folder/record/list.js@@ -46,7 +46,7 @@ export default class extends ListRecordView {return;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await Espo.Ajax.postRequest('GroupEmailFolder/action/moveUp', {id: model.id});await this.collection.fetch();@@ -68,7 +68,7 @@ export default class extends ListRecordView {return;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await Espo.Ajax.postRequest('GroupEmailFolder/action/moveDown', {id: model.id});await this.collection.fetch();diff --git a/client/src/views/import/step2.js b/client/src/views/import/step2.jsindex e0b2e99f17..458400b8c0 100644--- a/client/src/views/import/step2.js+++ b/client/src/views/import/step2.js@@ -557,7 +557,7 @@ class Step2ImportView extends View {$(this.containerSelector + ' button[data-name="update"]').removeClass('disabled');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();let label = this.translate(name, 'fields', this.scope);label = this.getHelper().escapeString(label);@@ -690,7 +690,7 @@ class Step2ImportView extends View {this.disableButtons();- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('Import/file', null, {timeout: 0,diff --git a/client/src/views/lead-capture/form.js b/client/src/views/lead-capture/form.jsindex af7586cad5..12097ec34f 100644--- a/client/src/views/lead-capture/form.js+++ b/client/src/views/lead-capture/form.js@@ -155,7 +155,7 @@ export default class LeadCaptureFormView extends View {this.recordView.disableActionItems();- Espo.Ui.notify(' ... ')+ Espo.Ui.notifyWait()const token = await this.processCaptcha();diff --git a/client/src/views/list-related.js b/client/src/views/list-related.jsindex 749fad9ec5..981a3574a4 100644--- a/client/src/views/list-related.js+++ b/client/src/views/list-related.js@@ -531,7 +531,7 @@ class ListRelatedView extends MainView {return;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createListRecordView(true);}@@ -633,7 +633,7 @@ class ListRelatedView extends MainView {this.collection.data.select = selectAttributeList.join(',');}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.collection.fetch({main: true}).then(() => Espo.Ui.notify(false));@@ -671,7 +671,7 @@ class ListRelatedView extends MainView {message: this.translate('unlinkRecordConfirmation', 'messages'),confirmText: this.translate('Unlink'),}, () => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.deleteRequest(this.collection.url, {id: id})diff --git a/client/src/views/list-with-categories.js b/client/src/views/list-with-categories.jsindex 8152c92555..562630488f 100644--- a/client/src/views/list-with-categories.js+++ b/client/src/views/list-with-categories.js@@ -402,7 +402,7 @@ class ListWithCategories extends ListView {this.hideListContainer();this.$nestedCategoriesContainer.addClass('hidden');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const promises = [this.nestedCategoriesCollection.fetch().then(() => this.updateHeader()),@@ -879,7 +879,7 @@ class ListWithCategories extends ListView {a.classList.add('disabled');}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();if (this.isExpanded) {await this.actionExpand();diff --git a/client/src/views/list.js b/client/src/views/list.jsindex 0a47f51e8a..9a0f15a33d 100644--- a/client/src/views/list.js+++ b/client/src/views/list.js@@ -609,7 +609,7 @@ class ListView extends MainView {return;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createListRecordView(true);}@@ -710,7 +710,7 @@ class ListView extends MainView {this.collection.data.select = selectAttributeList.join(',');}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.collection.fetch({main: true}).then(() => Espo.Ui.notify(false));@@ -799,7 +799,7 @@ class ListView extends MainView {const attributes = this.getCreateAttributes() || {};- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get('clientDefs.' + this.scope + '.modalViews.edit') ||'views/modals/edit';@@ -990,7 +990,7 @@ class ListView extends MainView {* @protected*/async actionFullRefresh() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await this.collection.fetch();diff --git a/client/src/views/login-second-step.js b/client/src/views/login-second-step.jsindex cfb3a93a55..e4add0ef6c 100644--- a/client/src/views/login-second-step.js+++ b/client/src/views/login-second-step.js@@ -251,7 +251,7 @@ class LoginSecondStepView extends View {/** @private */notifyLoading() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();}/** @private */diff --git a/client/src/views/login.js b/client/src/views/login.jsindex 17ac0f15c5..14e2441fed 100644--- a/client/src/views/login.js+++ b/client/src/views/login.js@@ -420,7 +420,7 @@ class LoginView extends View {/** @private */notifyLoading() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();}/** @private */diff --git a/client/src/views/modals/detail.js b/client/src/views/modals/detail.jsindex 35003db84a..cf1ff03838 100644--- a/client/src/views/modals/detail.js+++ b/client/src/views/modals/detail.js@@ -639,7 +639,7 @@ class DetailModalView extends ModalView {const viewName = this.getMetadata().get(['clientDefs', this.scope, 'modalViews', 'edit']) ||'views/modals/edit';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();return new Promise(resolve => {this.createView('quickEdit', viewName, {@@ -737,7 +737,7 @@ class DetailModalView extends ModalView {// noinspection JSUnusedGlobalSymbolsactionDuplicate() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest(this.scope + '/action/getDuplicateAttributes', {id: this.model.id})diff --git a/client/src/views/modals/related-list.js b/client/src/views/modals/related-list.jsindex f919b15857..f6734dd506 100644--- a/client/src/views/modals/related-list.js+++ b/client/src/views/modals/related-list.js@@ -474,14 +474,14 @@ class RelatedListModalView extends ModalView {const fetch = () => {this.whenRendered().then(() => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.collection.fetch().then(() => Espo.Ui.notify(false));});// Timeout to make notify work./*setTimeout(() => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.collection.fetch().then(() => Espo.Ui.notify(false));@@ -527,7 +527,7 @@ class RelatedListModalView extends ModalView {message: this.translate('unlinkRecordConfirmation', 'messages'),confirmText: this.translate('Unlink'),}, () => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.deleteRequest(this.collection.url, {id: id}).then(() => {Espo.Ui.success(this.translate('Unlinked'));@@ -622,7 +622,7 @@ class RelatedListModalView extends ModalView {}, () => {const model = this.collection.get(id);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();model.destroy()diff --git a/client/src/views/modals/select-records-with-categories.js b/client/src/views/modals/select-records-with-categories.jsindex cc0682d1d8..03d627b3b2 100644--- a/client/src/views/modals/select-records-with-categories.js+++ b/client/src/views/modals/select-records-with-categories.js@@ -142,7 +142,7 @@ class SelectRecordsWithCategoriesModalView extends SelectRecordsModal {this.applyCategoryToCollection();- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.collection.fetch().then(() => Espo.Ui.notify(false));@@ -166,7 +166,7 @@ class SelectRecordsWithCategoriesModalView extends SelectRecordsModal {this.applyCategoryToCollection();this.getCategoriesView().isExpanded = this.isExpanded;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await this.collection.fetch();diff --git a/client/src/views/modals/select-records.js b/client/src/views/modals/select-records.jsindex 9d9e0e3f24..a78ebd57cc 100644--- a/client/src/views/modals/select-records.js+++ b/client/src/views/modals/select-records.js@@ -348,14 +348,14 @@ class SelectRecordsModalView extends ModalView {const fetch = () => {this.whenRendered().then(() => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.collection.fetch().then(() => Espo.Ui.notify(false));});// Timeout to make notify work./*setTimeout(() => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.collection.fetch().then(() => Espo.Ui.notify(false));@@ -407,7 +407,7 @@ class SelectRecordsModalView extends ModalView {return;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const viewName = this.getMetadata().get(['clientDefs', this.scope, 'modalViews', 'edit']) ||diff --git a/client/src/views/notification/list.js b/client/src/views/notification/list.jsindex 1c4f3026c3..17412b4c86 100644--- a/client/src/views/notification/list.js+++ b/client/src/views/notification/list.js@@ -48,7 +48,7 @@ class NotificationListView extends View {}actionRefresh() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const $btn = this.$el.find('[data-action="refresh"]');$btn.addClass('disabled').attr('disabled', 'disabled');@@ -110,7 +110,7 @@ class NotificationListView extends View {}actionMarkAllRead() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const $link = this.$el.find('[data-action="markAllNotificationsRead"]');$link.attr('disabled', 'disabled').addClass('disabled');diff --git a/client/src/views/record/deleted-detail.js b/client/src/views/record/deleted-detail.jsindex 3a36c56d28..57e85c2cbb 100644--- a/client/src/views/record/deleted-detail.js+++ b/client/src/views/record/deleted-detail.js@@ -48,7 +48,7 @@ class DeletedDetailRecordView extends DetailRecordView {// noinspection JSUnusedGlobalSymbolsactionRestoreDeleted() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest(this.model.entityType + '/action/restoreDeleted', {id: this.model.id})diff --git a/client/src/views/record/detail.js b/client/src/views/record/detail.jsindex 6cb0b71949..65dbd4b8de 100644--- a/client/src/views/record/detail.js+++ b/client/src/views/record/detail.js@@ -1609,7 +1609,7 @@ class DetailRecordView extends BaseRecordView {this.trigger('before:delete');this.trigger('delete');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const collection = this.model.collection;@@ -2447,7 +2447,7 @@ class DetailRecordView extends BaseRecordView {}}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('modalRelatedList', viewName, options, view => {Espo.Ui.notify(false);diff --git a/client/src/views/record/kanban.js b/client/src/views/record/kanban.jsindex 532f22ca3d..2bbaf82331 100644--- a/client/src/views/record/kanban.js+++ b/client/src/views/record/kanban.js@@ -1451,7 +1451,7 @@ class KanbanRecordView extends ListRecordView {async afterSettingsChange(options) {this._internalLayout = null;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await this.collection.fetch({maxSize: this.collection.maxSize});diff --git a/client/src/views/record/list-pagination.js b/client/src/views/record/list-pagination.jsindex 8166a75c7f..2849e44144 100644--- a/client/src/views/record/list-pagination.js+++ b/client/src/views/record/list-pagination.js@@ -138,7 +138,7 @@ class RecordListPagination extends View {return null;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();return this.collection.setOffset(offset).then(() => {diff --git a/client/src/views/record/list-tree-item.js b/client/src/views/record/list-tree-item.jsindex f680443d55..ba4afa6e96 100644--- a/client/src/views/record/list-tree-item.js+++ b/client/src/views/record/list-tree-item.js@@ -234,7 +234,7 @@ class ListTreeRecordItemView extends View {collection.url = this.collection.url;collection.parentId = this.model.id;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.listenToOnce(collection, 'sync', () => {Espo.Ui.notify(false);diff --git a/client/src/views/record/list.js b/client/src/views/record/list.jsindex aaa1da8f81..f74026cbf3 100644--- a/client/src/views/record/list.js+++ b/client/src/views/record/list.js@@ -787,7 +787,7 @@ class ListRecordView extends View {* @param {'first'|'last'|'next'|'previous'|'current'} page*/goToPage(page) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const onSync = () => {Espo.Ui.notify(false);@@ -864,7 +864,7 @@ class ListRecordView extends View {const order = asc ? 'asc' : 'desc';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const maxSizeLimit = this.getConfig().get('recordListMaxSizeLimit') || 200;@@ -1443,7 +1443,7 @@ class ListRecordView extends View {message: this.translate('removeSelectedRecordsConfirmation', 'messages', this.scope),confirmText: this.translate('Remove'),}, () => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const helper = new MassActionHelper(this);const params = this.getMassActionSelectionPostData();@@ -1565,7 +1565,7 @@ class ListRecordView extends View {this.listenToOnce(view, 'select', (templateModel) => {this.clearView('pdfTemplate');- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('Pdf/action/massPrint',@@ -1727,7 +1727,7 @@ class ListRecordView extends View {return false;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();let ids = false;@@ -1813,7 +1813,7 @@ class ListRecordView extends View {message: this.translate('unlinkSelectedRecordsConfirmation', 'messages'),confirmText: this.translate('Unlink'),}, () => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.deleteRequest(this.collection.url, {ids: this.checkedList}).then(() => {@@ -3111,7 +3111,7 @@ class ListRecordView extends View {$showMore.children('a').addClass('disabled');if (!options.skipNotify) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();}const lengthBefore = collection.length;@@ -3426,7 +3426,7 @@ class ListRecordView extends View {this.collection.trigger('model-removing', id);this.collection.remove(model);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();model.destroy({wait: true, fromList: true}).then(() => {@@ -3624,7 +3624,7 @@ class ListRecordView extends View {this._internalLayout = null;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await this.collection.fetch();diff --git a/client/src/views/record/merge.js b/client/src/views/record/merge.jsindex 21840a0783..b5923b4558 100644--- a/client/src/views/record/merge.js+++ b/client/src/views/record/merge.js@@ -86,7 +86,7 @@ class MergeRecordView extends View {});});- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const sourceIdList = this.models.filter(m => m.id !== model.id)diff --git a/client/src/views/record/panels/relationship.js b/client/src/views/record/panels/relationship.jsindex 76bcd8fe12..d7e2e177e5 100644--- a/client/src/views/record/panels/relationship.js+++ b/client/src/views/record/panels/relationship.js@@ -622,7 +622,7 @@ class RelationshipPanelView extends BottomPanelView {* @protected*/async actionRefresh() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await this.collection.fetch()@@ -684,7 +684,7 @@ class RelationshipPanelView extends BottomPanelView {}}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('modalRelatedList', viewName, options, view => {Espo.Ui.notify(false);@@ -768,7 +768,7 @@ class RelationshipPanelView extends BottomPanelView {const viewName = this.getMetadata().get('clientDefs.' + scope + '.modalViews.edit') ||'views/modals/edit';- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('quickEdit', viewName, {scope: scope,@@ -799,7 +799,7 @@ class RelationshipPanelView extends BottomPanelView {message: this.translate('unlinkRecordConfirmation', 'messages'),confirmText: this.translate('Unlink'),}, () => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.deleteRequest(this.collection.url, {id: id})@@ -829,7 +829,7 @@ class RelationshipPanelView extends BottomPanelView {}, () => {const model = this.collection.get(id);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();model.destroy()@@ -852,7 +852,7 @@ class RelationshipPanelView extends BottomPanelView {*/actionUnlinkAllRelated(data) {this.confirm(this.translate('unlinkAllConfirmation', 'messages'), () => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest(this.model.entityType + '/action/unlinkAll', {diff --git a/client/src/views/record/panels/side.js b/client/src/views/record/panels/side.jsindex d9bed1d8fe..ef884e5fd2 100644--- a/client/src/views/record/panels/side.js+++ b/client/src/views/record/panels/side.js@@ -386,7 +386,7 @@ class SidePanelView extends View {* A `refresh` action.*/async actionRefresh() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await this.model.fetch();diff --git a/client/src/views/record/search.js b/client/src/views/record/search.jsindex fd1ea785e3..372c946766 100644--- a/client/src/views/record/search.js+++ b/client/src/views/record/search.js@@ -566,7 +566,7 @@ class SearchView extends View {}refresh() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.collection.abortLastFetch();this.collection.reset();@@ -984,7 +984,7 @@ class SearchView extends View {this.collection.where = this.searchManager.getWhere();this.collection.offset = 0;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.collection.fetch().then(() => {Espo.Ui.notify(false);diff --git a/client/src/views/site/master.js b/client/src/views/site/master.jsindex 001ba03d71..81851d1353 100644--- a/client/src/views/site/master.js+++ b/client/src/views/site/master.js@@ -61,7 +61,7 @@ class MasterSiteView extends View {currentNameshowLoadingNotification() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();}hideLoadingNotification() {diff --git a/client/src/views/site/navbar/quick-create.js b/client/src/views/site/navbar/quick-create.jsindex 5f15f870b6..20a8ab6c1e 100644--- a/client/src/views/site/navbar/quick-create.js+++ b/client/src/views/site/navbar/quick-create.js@@ -91,7 +91,7 @@ class QuickCreateNavbarView extends View {}processCreate(scope) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const type = this.getMetadata().get(['clientDefs', scope, 'quickCreateModalType']) || 'edit';const viewName = this.getMetadata().get(['clientDefs', scope, 'modalViews', type]) || 'views/modals/edit';diff --git a/client/src/views/stream.js b/client/src/views/stream.jsindex 1461f53c6d..66bdf41737 100644--- a/client/src/views/stream.js+++ b/client/src/views/stream.js@@ -73,7 +73,7 @@ class StreamView extends View {}afterRender() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.getCollectionFactory().create('Note', collection => {this.collection = collection;@@ -138,7 +138,7 @@ class StreamView extends View {this.getRouter().navigate(url);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.getRecordView().element.innerHTML = '';@@ -191,7 +191,7 @@ class StreamView extends View {setTimeout(() => iconEl.classList.remove('animation-spin-fast'), 500);}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.getRecordView().showNewRecords().then(() => Espo.Ui.notify(false));diff --git a/client/src/views/stream/modals/view-audit-log.js b/client/src/views/stream/modals/view-audit-log.jsindex c3abdd3b90..bebd83f632 100644--- a/client/src/views/stream/modals/view-audit-log.js+++ b/client/src/views/stream/modals/view-audit-log.js@@ -76,7 +76,7 @@ class StreamViewAuditLogModalView extends ModalView {type: 'listAuditLog',});- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();return this.assignView('record', listView, '.record').then(() => {diff --git a/client/src/views/stream/notes/email-received.js b/client/src/views/stream/notes/email-received.jsindex 9322b39e75..ec17cf6006 100644--- a/client/src/views/stream/notes/email-received.js+++ b/client/src/views/stream/notes/email-received.js@@ -233,7 +233,7 @@ class EmailReceivedNoteStreamView extends NoteStreamView {this.formModel.id = this.emailId;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();try {await this.formModel.fetch();diff --git a/client/src/views/stream/notes/post.js b/client/src/views/stream/notes/post.jsindex 488622dc1b..b1adaa211b 100644--- a/client/src/views/stream/notes/post.js+++ b/client/src/views/stream/notes/post.js@@ -225,7 +225,7 @@ class PostNoteStreamView extends NoteStreamView {* @param {string} type*/async react(type) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const previousMyReactions = this.model.attributes.myReactions;const previousReactionCounts = this.model.attributes.reactionCounts;@@ -264,7 +264,7 @@ class PostNoteStreamView extends NoteStreamView {* @param {string} type*/async unReact(type) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();const previousMyReactions = this.model.attributes.myReactions;const previousReactionCounts = this.model.attributes.reactionCounts;diff --git a/client/src/views/stream/panel.js b/client/src/views/stream/panel.jsindex c25248a38e..74173dcf20 100644--- a/client/src/views/stream/panel.js+++ b/client/src/views/stream/panel.js@@ -707,7 +707,7 @@ class PanelStreamView extends RelationshipPanelView {this._justPosted = true;setTimeout(() => this._justPosted = false, 1000);- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();try {await model.save(null);@@ -885,7 +885,7 @@ class PanelStreamView extends RelationshipPanelView {return;}- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();await this.getListView().showNewRecords();diff --git a/client/src/views/stream/record/edit.js b/client/src/views/stream/record/edit.jsindex 78aba97df6..c4e33b50d7 100644--- a/client/src/views/stream/record/edit.js+++ b/client/src/views/stream/record/edit.js@@ -275,7 +275,7 @@ class EditStreamView extends BaseRecordView {}beforeSave() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();}afterSave() {diff --git a/client/src/views/stream/record/list.js b/client/src/views/stream/record/list.jsindex a7dbaad412..485430e0fa 100644--- a/client/src/views/stream/record/list.js+++ b/client/src/views/stream/record/list.js@@ -221,7 +221,7 @@ class ListStreamRecordView extends ListExpandedRecordView {actionPin(data) {const collection = /** @type {import('collections/note').default} */this.collection;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest(`Note/${data.id}/pin`).then(() => {Espo.Ui.notify(false);@@ -248,7 +248,7 @@ class ListStreamRecordView extends ListExpandedRecordView {actionUnpin(data) {const collection = /** @type {import('collections/note').default} */this.collection;- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.deleteRequest(`Note/${data.id}/pin`).then(() => {Espo.Ui.notify(false);diff --git a/client/src/views/user/modals/security.js b/client/src/views/user/modals/security.jsindex 1c747ec113..3152fd9f91 100644--- a/client/src/views/user/modals/security.js+++ b/client/src/views/user/modals/security.js@@ -202,7 +202,7 @@ class UserSecurityModalView extends ModalView {const view = this.getMetadata().get(['app', 'authentication2FAMethods', auth2FAMethod, 'userApplyView']);if (view) {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('dialog', view, {model: this.model,diff --git a/client/src/views/user/record/detail.js b/client/src/views/user/record/detail.jsindex b6c2702275..91ed969433 100644--- a/client/src/views/user/record/detail.js+++ b/client/src/views/user/record/detail.js@@ -275,7 +275,7 @@ class UserDetailRecordView extends DetailRecordView {// noinspection JSUnusedGlobalSymbolsactionChangePassword() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();this.createView('changePassword', 'views/modals/change-password', {userId: this.model.id}, view => {view.render();@@ -306,7 +306,7 @@ class UserDetailRecordView extends DetailRecordView {// noinspection JSUnusedGlobalSymbolsactionAccess() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.getRequest(`User/${this.model.id}/acl`).then(aclData => {this.createView('access', 'views/user/modals/access', {@@ -436,7 +436,7 @@ class UserDetailRecordView extends DetailRecordView {this.confirm(this.translate('generateAndSendNewPassword', 'messages', 'User')).then(() => {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();Espo.Ajax.postRequest('UserSecurity/password/generate', {id: this.model.id})diff --git a/public/install/js/install.js b/public/install/js/install.jsindex 41fd879ce5..c3bfbe9ec5 100644--- a/public/install/js/install.js+++ b/public/install/js/install.js@@ -585,7 +585,7 @@ InstallScript.prototype.hideMsg = function() {}InstallScript.prototype.showLoading = function() {- Espo.Ui.notify(' ... ');+ Espo.Ui.notifyWait();}InstallScript.prototype.hideLoading = function() {