Skip to content

Commit

Permalink
ref
Browse files Browse the repository at this point in the history
  • Loading branch information
yurikuzn committed Apr 26, 2024
1 parent 32d68fb commit 7a8c4a7
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,16 @@ Espo.define('real-estate:views/admin/record/matching-configuration', 'views/reco
},

actionSave: function () {
Espo.Ui.notify(this.translate('pleaseWait', 'messages'));
Espo.Ui.notify(' ... ');
this.disableButtons();

this.model.save()
.then(() => {
this.getMetadata().load(() => {
this.getMetadata().storeToCache();
this.getMetadata().loadSkipCache().then(() => {
Espo.Ui.success(this.translate('Saved'));

this.enableButtons();
}, true);
});
})
.catch(() => {
this.enableButtons();
Expand Down

0 comments on commit 7a8c4a7

Please sign in to comment.