fix field manager ui
This commit is contained in:
@@ -187,6 +187,8 @@ Espo.define('views/admin/field-manager/edit', ['view', 'model'], function (Dep,
|
||||
}
|
||||
|
||||
this.listenToOnce(this.model, 'sync', function () {
|
||||
Espo.Ui.notify(false);
|
||||
|
||||
this.getMetadata().load(function () {
|
||||
this.getMetadata().storeToCache();
|
||||
this.trigger('after:save');
|
||||
|
||||
@@ -128,8 +128,7 @@ Espo.define('views/admin/field-manager/index', 'view', function (Dep) {
|
||||
this.notify(false);
|
||||
$(window).scrollTop(0);
|
||||
|
||||
view.once('after:save', function () {
|
||||
//this.openScope(this.scope);
|
||||
this.listenTo(view, 'after:save', function () {
|
||||
this.notify('Saved', 'success');
|
||||
}, this);
|
||||
}.bind(this));
|
||||
|
||||
Reference in New Issue
Block a user