From 60b1191c889baeaa408e6e923da4f630bbecb3ff Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 3 Dec 2013 20:45:05 +0100 Subject: [PATCH] some equals are more equal than other equals --- apps/user_ldap/js/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5