diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-01-15 12:25:36 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2015-01-15 12:25:36 +0100 |
commit | 56ba07aa5cc52cd8a937aa6fb514a82b82385568 (patch) | |
tree | 665b4004616e951f5ee880fe2fde443d1572007e /apps/user_ldap/js | |
parent | 3d94aa8953a0d79da2c934b59edd60254e24f5ea (diff) | |
download | nextcloud-server-56ba07aa5cc52cd8a937aa6fb514a82b82385568.tar.gz nextcloud-server-56ba07aa5cc52cd8a937aa6fb514a82b82385568.zip |
coding style
Diffstat (limited to 'apps/user_ldap/js')
-rw-r--r-- | apps/user_ldap/js/experiencedAdmin.js | 3 | ||||
-rw-r--r-- | apps/user_ldap/js/ldapFilter.js | 10 |
2 files changed, 8 insertions, 5 deletions
diff --git a/apps/user_ldap/js/experiencedAdmin.js b/apps/user_ldap/js/experiencedAdmin.js index f9820c56c92..7dc5a4e503d 100644 --- a/apps/user_ldap/js/experiencedAdmin.js +++ b/apps/user_ldap/js/experiencedAdmin.js @@ -29,7 +29,8 @@ function ExperiencedAdmin(wizard, initialState) { */ ExperiencedAdmin.prototype.setExperienced = function(isExperienced) { this._isExperienced = isExperienced; - if(this._isExperienced) { this.enableRawMode(); + if(this._isExperienced) { + this.enableRawMode(); this.hideEntryCounters(); } else { this.showEntryCounters(); diff --git a/apps/user_ldap/js/ldapFilter.js b/apps/user_ldap/js/ldapFilter.js index c546e942d07..dc65858217d 100644 --- a/apps/user_ldap/js/ldapFilter.js +++ b/apps/user_ldap/js/ldapFilter.js @@ -95,11 +95,13 @@ LdapFilter.prototype.determineMode = function() { filter.mode = parseInt(result.changes[property], 10); var rawContainerIsInvisible = $('#raw'+filter.target+'FilterContainer').hasClass('invisible'); - if(filter.mode === LdapWizard.filterModeRaw - && rawContainerIsInvisible) { + if ( filter.mode === LdapWizard.filterModeRaw + && rawContainerIsInvisible + ) { LdapWizard['toggleRaw'+filter.target+'Filter'](); - } else if(filter.mode === LdapWizard.filterModeAssisted - && !rawContainerIsInvisible) { + } else if ( filter.mode === LdapWizard.filterModeAssisted + && !rawContainerIsInvisible + ) { LdapWizard['toggleRaw'+filter.target+'Filter'](); } else { console.log('LDAP Wizard determineMode: returned mode was ยป' + |