aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/js/wizard/wizardTabElementary.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/js/wizard/wizardTabElementary.js')
-rw-r--r--apps/user_ldap/js/wizard/wizardTabElementary.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/apps/user_ldap/js/wizard/wizardTabElementary.js b/apps/user_ldap/js/wizard/wizardTabElementary.js
index c8cb308952b..7ce1009565d 100644
--- a/apps/user_ldap/js/wizard/wizardTabElementary.js
+++ b/apps/user_ldap/js/wizard/wizardTabElementary.js
@@ -43,11 +43,15 @@ OCA = OCA || {};
},
ldap_dn: {
$element: $('#ldap_dn'),
- setMethod: 'setAgentDN'
+ setMethod: 'setAgentDN',
+ preventAutoSave: true,
+ $saveButton: $('.ldapSaveAgentCredentials')
},
ldap_agent_password: {
$element: $('#ldap_agent_password'),
- setMethod: 'setAgentPwd'
+ setMethod: 'setAgentPwd',
+ preventAutoSave: true,
+ $saveButton: $('.ldapSaveAgentCredentials')
},
ldap_base: {
$element: $('#ldap_base'),
@@ -65,7 +69,11 @@ OCA = OCA || {};
}
};
this.setManagedItems(items);
- _.bindAll(this, 'onPortButtonClick', 'onBaseDNButtonClick', 'onBaseDNTestButtonClick');
+ _.bindAll(this,
+ 'onPortButtonClick',
+ 'onBaseDNButtonClick',
+ 'onBaseDNTestButtonClick'
+ );
this.managedItems.ldap_port.$relatedElements.click(this.onPortButtonClick);
this.managedItems.ldap_base.$detectButton.click(this.onBaseDNButtonClick);
this.managedItems.ldap_base.$testButton.click(this.onBaseDNTestButtonClick);