onWizardTabChange => onBeforeWizardTabChange
This commit is contained in:
1 parent
0f53c1aaa6
commit
23744cdba9
2 files changed
+2
-2
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user