]> source.dussan.org Git - nextcloud-server.git/commitdiff
some equals are more equal than other equals
authorArthur Schiwon <blizzz@owncloud.com>
Tue, 3 Dec 2013 19:45:05 +0000 (20:45 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Wed, 4 Dec 2013 17:59:12 +0000 (18:59 +0100)
apps/user_ldap/js/settings.js

index a6bfa7549fe22da01f6b664f2be1d0c9717712b4..b87590d97547ee13aec38aecf1bc286da82ce186 100644 (file)
@@ -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) {