update back/continue buttons also on tab click

remotes/origin/poc-doctrine-migrations
Arthur Schiwon 10 years ago
parent b4c96e6ba0
commit 00c2970547
  1. 4
      apps/user_ldap/js/wizard/view.js
  2. 6
      apps/user_ldap/js/wizard/wizard.js
  3. 1
      apps/user_ldap/js/wizard/wizardTabElementary.js

@ -225,6 +225,10 @@ OCA = OCA || {};
} else { } else {
console.warn('Unreferenced left tab ' + oldTabID); 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 filterOnTypeFactory = new OCA.LDAP.Wizard.FilterOnTypeFactory();
var tabs = []; var tabs = [];
tabs.push(new OCA.LDAP.Wizard.WizardTabUserFilter(filterOnTypeFactory)); tabs.push(new OCA.LDAP.Wizard.WizardTabUserFilter(filterOnTypeFactory, 1));
tabs.push(new OCA.LDAP.Wizard.WizardTabLoginFilter()); tabs.push(new OCA.LDAP.Wizard.WizardTabLoginFilter(2));
tabs.push(new OCA.LDAP.Wizard.WizardTabGroupFilter(filterOnTypeFactory)); tabs.push(new OCA.LDAP.Wizard.WizardTabGroupFilter(filterOnTypeFactory, 3));
tabs.push(new OCA.LDAP.Wizard.WizardTabAdvanced()); tabs.push(new OCA.LDAP.Wizard.WizardTabAdvanced());
tabs.push(new OCA.LDAP.Wizard.WizardTabExpert()); tabs.push(new OCA.LDAP.Wizard.WizardTabExpert());

@ -21,6 +21,7 @@ OCA = OCA || {};
* @param tabID * @param tabID
*/ */
init: function (tabIndex, tabID) { init: function (tabIndex, tabID) {
tabIndex = 0;
this._super(tabIndex, tabID); this._super(tabIndex, tabID);
this.isActive = true; this.isActive = true;
this.configChooserID = '#ldap_serverconfig_chooser'; this.configChooserID = '#ldap_serverconfig_chooser';

Loading…
Cancel
Save