docs
This commit is contained in:
@@ -3294,7 +3294,7 @@ class DetailRecordView extends BaseRecordView {
|
||||
/**
|
||||
* Called after save or cancel. By default, redirects a page. Can be overridden in options.
|
||||
*
|
||||
* @param {string} after Name of an action (`save`, `cancel,` etc.) after which #exit is invoked.
|
||||
* @param {string|'save'|'cancel'|'delete'} after Name of an action after which #exit is invoked.
|
||||
*/
|
||||
exit(after) {
|
||||
if (after) {
|
||||
@@ -3320,10 +3320,7 @@ class DetailRecordView extends BaseRecordView {
|
||||
url = this.options.rootUrl || '#' + this.scope;
|
||||
|
||||
this.getRouter().navigate(url, {trigger: false});
|
||||
|
||||
this.getRouter().dispatch(this.scope, null, {
|
||||
isReturn: true
|
||||
});
|
||||
this.getRouter().dispatch(this.scope, null, {isReturn: true});
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user