From 4278ac8215da8ce3a62027d2dc4e763f2b45ab2d Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 24 Oct 2008 07:57:21 +0000 Subject: - Added option 'identities_level', removed 'multiple_identities' - Allow deleting identities when multiple_identities=false (#1485435) git-svn-id: https://svn.roundcube.net/trunk@2006 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/js') diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 6994d1893..861c3d7cf 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -288,8 +288,8 @@ function rcube_webmail() this.enable_command('preferences', 'identities', 'save', 'folders', true); if (this.env.action=='identities' || this.env.action=='edit-identity' || this.env.action=='add-identity') { - this.enable_command('add', 'delete', this.env.multiple_identities); - this.enable_command('edit', true); + this.enable_command('add', this.env.identities_level < 2); + this.enable_command('delete', 'edit', true); } if (this.env.action=='edit-identity' || this.env.action=='add-identity') -- cgit v1.2.3