diff options
Diffstat (limited to 'skins/default/includes')
-rw-r--r-- | skins/default/includes/settingscripts.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/skins/default/includes/settingscripts.html b/skins/default/includes/settingscripts.html index b7699708d..9ee93cda5 100644 --- a/skins/default/includes/settingscripts.html +++ b/skins/default/includes/settingscripts.html @@ -1,7 +1,10 @@ <script type="text/javascript"> if (window.rcmail && rcmail.env.action) - var tab = document.getElementById('settingstab'+rcmail.env.action); + { + var action = rcmail.env.action=='preferences' ? 'default' : (rcmail.env.action.indexOf('identity')>0 ? 'identities' : rcmail.env.action); + var tab = document.getElementById('settingstab'+action); + } else var tab = document.getElementById('settingstabdefault'); |