update back/continue buttons also on tab click
This commit is contained in:
parent
b4c96e6ba0
commit
00c2970547
3 changed files with 8 additions and 3 deletions
|
@ -225,6 +225,10 @@ OCA = OCA || {};
|
|||
} else {
|
||||
console.warn('Unreferenced left tab ' + oldTabID);
|
||||
}
|
||||
|
||||
if(!_.isUndefined(this.tabs[newTabID])) {
|
||||
this._controlUpdate(this.tabs[newTabID].tabIndex);
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -52,9 +52,9 @@ OCA = OCA || {};
|
|||
var filterOnTypeFactory = new OCA.LDAP.Wizard.FilterOnTypeFactory();
|
||||
|
||||
var tabs = [];
|
||||
tabs.push(new OCA.LDAP.Wizard.WizardTabUserFilter(filterOnTypeFactory));
|
||||
tabs.push(new OCA.LDAP.Wizard.WizardTabLoginFilter());
|
||||
tabs.push(new OCA.LDAP.Wizard.WizardTabGroupFilter(filterOnTypeFactory));
|
||||
tabs.push(new OCA.LDAP.Wizard.WizardTabUserFilter(filterOnTypeFactory, 1));
|
||||
tabs.push(new OCA.LDAP.Wizard.WizardTabLoginFilter(2));
|
||||
tabs.push(new OCA.LDAP.Wizard.WizardTabGroupFilter(filterOnTypeFactory, 3));
|
||||
tabs.push(new OCA.LDAP.Wizard.WizardTabAdvanced());
|
||||
tabs.push(new OCA.LDAP.Wizard.WizardTabExpert());
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ OCA = OCA || {};
|
|||
* @param tabID
|
||||
*/
|
||||
init: function (tabIndex, tabID) {
|
||||
tabIndex = 0;
|
||||
this._super(tabIndex, tabID);
|
||||
this.isActive = true;
|
||||
this.configChooserID = '#ldap_serverconfig_chooser';
|
||||
|
|
Loading…
Reference in a new issue