From ec01712a998b35d48be3daaf272779fdbc63cd74 Mon Sep 17 00:00:00 2001 From: alecpl 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) --- program/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program/js') diff --git a/program/js/app.js b/program/js/app.js index 6994d1893..861c3d7cf 100644 --- a/program/js/app.js +++ b/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