fix field manager ui

This commit is contained in:
yuri
2016-06-08 17:58:18 +03:00
parent 8451949805
commit cbbfa44174
2 changed files with 3 additions and 2 deletions
@@ -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));