EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
after delete navigate to root url
Yuri Kuznetsovfc213f245c22
diff --git a/client/src/views/record/detail.js b/client/src/views/record/detail.jsindex 658168997f..43915f6d0b 100644--- a/client/src/views/record/detail.js+++ b/client/src/views/record/detail.js@@ -3487,6 +3487,12 @@ class DetailRecordView extends BaseRecordView {if (after === 'delete') {url = this.options.rootUrl || '#' + this.scope;+ if (this.options.rootUrl) {+ this.getRouter().navigate(url, {trigger: true});++ return;+ }+this.getRouter().navigate(url, {trigger: false});this.getRouter().dispatch(this.scope, null, {isReturn: true});