diff options
author | svncommit <devs@roundcube.net> | 2006-01-08 07:40:09 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2006-01-08 07:40:09 +0000 |
commit | c0da982d9e11bb80ec9948e89ccdb55b90bc77e3 (patch) | |
tree | eb562e829efb0245e4b178233462969022d03cec /program/js/app.js | |
parent | d4ab31129f9bccab659cc4d3d45512ec7606fd62 (diff) |
disable ldap search button if no servers configured
Diffstat (limited to 'program/js/app.js')
-rw-r--r-- | program/js/app.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index 6d76d04e2..650dbaaf7 100644 --- a/program/js/app.js +++ b/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; |