onWizardTabChange => onBeforeWizardTabChange

This commit is contained in:
Gina Häußge 2016-11-24 11:56:37 +01:00
parent 0f53c1aaa6
commit 23744cdba9
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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();