record handler in setupFinal

This commit is contained in:
Yuri Kuznetsov
2022-12-06 18:35:13 +02:00
parent 31b416d3ee
commit ec44deceaa
3 changed files with 14 additions and 2 deletions
+6 -2
View File
@@ -155,11 +155,15 @@ define('views/detail', ['views/main'], function (Dep) {
});
}
this.getHelper().processSetupHandlers(this, 'detail');
this.initRedirect();
},
setupFinal: function () {
Dep.prototype.setupFinal.call(this);
this.getHelper().processSetupHandlers(this, 'detail');
},
/**
* @private
*/
+4
View File
@@ -100,6 +100,10 @@ define('views/edit', ['views/main'], function (Dep) {
this.setupHeader();
this.setupRecord();
},
setupFinal: function () {
Dep.prototype.setupFinal.call(this);
this.getHelper().processSetupHandlers(this, 'edit');
},
+4
View File
@@ -239,6 +239,10 @@ function (Dep, /** typeof module:search-manager.Class */SearchManager) {
if (this.options.params && this.options.params.fromAdmin) {
this.keepCurrentRootUrl = true;
}
},
setupFinal: function () {
Dep.prototype.setupFinal.call(this);
this.getHelper().processSetupHandlers(this, 'list');
},