Merge branch 'master' of ssh://172.20.0.1/var/git/espo/backend
This commit is contained in:
@@ -343,6 +343,10 @@ class EntityManager
|
||||
)
|
||||
)
|
||||
);
|
||||
if ($entityForeign == $entity) {
|
||||
$dataLeft['links'][$link]['midKeys'] = ['leftId', 'rightId'];
|
||||
$dataRight['links'][$linkForeign]['midKeys'] = ['rightId', 'leftId'];
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -167,7 +167,7 @@ Espo.define('Views.Admin.LinkManager.Index', 'View', function (Dep) {
|
||||
this.getMetadata().load(function () {
|
||||
this.setupLinkData();
|
||||
this.render();
|
||||
}.bind(this));
|
||||
}.bind(this), true);
|
||||
}.bind(this));
|
||||
},
|
||||
|
||||
|
||||
@@ -343,7 +343,7 @@ Espo.define('Views.Admin.LinkManager.Modals.Edit', ['Views.Modal', 'Views.Admin.
|
||||
this.getMetadata().load(function () {
|
||||
this.trigger('after:save');
|
||||
this.close();
|
||||
}.bind(this));
|
||||
}.bind(this), true);
|
||||
}.bind(this));
|
||||
},
|
||||
|
||||
|
||||
@@ -31,11 +31,13 @@ Espo.define('Views.Email.Modals.Detail', ['Views.Modals.Detail', 'Views.Email.De
|
||||
'label': 'Reply',
|
||||
'style': 'danger'
|
||||
});
|
||||
this.listenToOnce(this.model, 'sync', function () {
|
||||
setTimeout(function () {
|
||||
this.model.set('isRead', true);
|
||||
}.bind(this), 50);
|
||||
}, this);
|
||||
if (this.model) {
|
||||
this.listenToOnce(this.model, 'sync', function () {
|
||||
setTimeout(function () {
|
||||
this.model.set('isRead', true);
|
||||
}.bind(this), 50);
|
||||
}, this);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user