record handler in setupFinal
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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');
|
||||
},
|
||||
|
||||
@@ -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');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user