mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 23:16:03 +00:00
close modal on location change
This commit is contained in:
@@ -138,6 +138,10 @@ Espo.define('views/modals/detail', 'views/modal', function (Dep) {
|
||||
this.createRecordView();
|
||||
}
|
||||
}, this);
|
||||
|
||||
this.listenToOnce(this.getRouter(), 'routed', function () {
|
||||
this.remove();
|
||||
}, this);
|
||||
},
|
||||
|
||||
addEditButton: function () {
|
||||
|
||||
Reference in New Issue
Block a user