onWizardTabChange => onBeforeWizardTabChange
This commit is contained in:
parent
0f53c1aaa6
commit
23744cdba9
2 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ $(function() {
|
|||
});
|
||||
};
|
||||
|
||||
self.onWizardTabChange = function(current, next) {
|
||||
self.onBeforeWizardTabChange = function(next, current) {
|
||||
if (!current || !_.startsWith(current, "wizard_plugin_corewizard_acl_") || self.setup()) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -488,7 +488,7 @@ $(function() {
|
|||
self.workingOutput.scrollTop(self.workingOutput[0].scrollHeight - self.workingOutput.height());
|
||||
};
|
||||
|
||||
self.onWizardTabChange = function(current, next) {
|
||||
self.onBeforeWizardTabChange = function(next, current) {
|
||||
if (next && _.startsWith(next, "wizard_plugin_softwareupdate")) {
|
||||
// switching to the plugin wizard tab
|
||||
self._copyConfig();
|
||||
|
|
|
|||
Loading…
Reference in a new issue