diff options
| author | justinrandell <justinrandell@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-01-08 07:40:09 +0000 |
|---|---|---|
| committer | justinrandell <justinrandell@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-01-08 07:40:09 +0000 |
| commit | 6c48b0a7434e602e33519cc2c46957ba0495477e (patch) | |
| tree | 1fcaadbb5e60a43bd063dcc89d9db40ec449298d /roundcubemail/program/js | |
| parent | 34851cb4d0b2aa89b2edb8ae6c2c5555ff9389ce (diff) | |
disable ldap search button if no servers configured
git-svn-id: https://svn.roundcube.net/trunk@97 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 6d76d04e2..650dbaaf7 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -177,7 +177,10 @@ function rcube_webmail() if ((this.env.action=='add' || this.env.action=='edit') && this.gui_objects.editform) this.enable_command('save', true); - this.enable_command('list', 'add', 'ldappublicsearch', true); + this.enable_command('list', 'add', true); + + this.enable_command('ldappublicsearch', this.env.ldappublicsearch); + break; |
