diff options
Diffstat (limited to 'apps/user_ldap/js/experiencedAdmin.js')
-rw-r--r-- | apps/user_ldap/js/experiencedAdmin.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/user_ldap/js/experiencedAdmin.js b/apps/user_ldap/js/experiencedAdmin.js index 8d138eecc41..f9820c56c92 100644 --- a/apps/user_ldap/js/experiencedAdmin.js +++ b/apps/user_ldap/js/experiencedAdmin.js @@ -25,12 +25,11 @@ function ExperiencedAdmin(wizard, initialState) { /** * toggles whether the admin is an experienced one or not * - * @param {boolean} whether the admin is experienced or not + * @param {boolean} isExperienced whether the admin is experienced or not */ ExperiencedAdmin.prototype.setExperienced = function(isExperienced) { this._isExperienced = isExperienced; - if(this._isExperienced) { - this.enableRawMode(); + if(this._isExperienced) { this.enableRawMode(); this.hideEntryCounters(); } else { this.showEntryCounters(); |