From: Arthur Schiwon Date: Tue, 3 Dec 2013 19:45:05 +0000 (+0100) Subject: some equals are more equal than other equals X-Git-Tag: v7.0.0alpha2~1079 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=60b1191c889baeaa408e6e923da4f630bbecb3ff;p=nextcloud-server.git some equals are more equal than other equals --- diff --git a/apps/user_ldap/js/settings.js b/apps/user_ldap/js/settings.js index a6bfa7549fe..b87590d9754 100644 --- a/apps/user_ldap/js/settings.js +++ b/apps/user_ldap/js/settings.js @@ -444,7 +444,7 @@ var LdapWizard = { //enable only when raw filter editing is not turned on $('#'+multisel).multiselect('enable'); } - if(type == 'Users') { + if(type === 'Users') { //required for initial save filter = $('#ldap_userlist_filter').val(); if(!filter) { @@ -486,7 +486,7 @@ var LdapWizard = { LdapWizard.hideSpinner('#'+multisel); LdapWizard.applyChanges(result); $('#'+multisel).multiselect('refresh'); - if(type == 'User') { + if(type === 'User') { //required for initial save filter = $('#ldap_userlist_filter').val(); if(!filter) {