diff options
author | alecpl <alec@alec.pl> | 2009-10-25 09:34:38 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-10-25 09:34:38 +0000 |
commit | 700ef1f09aeafd5f773737ad43fd4c284d3869b6 (patch) | |
tree | 9cb82238281da9b98dee82d34ac53496519002a2 /skins/default | |
parent | 06e07571b651f959620c31c0d030f1adf62b590f (diff) |
- Avoid unnecessary page loads for selected tab (#1486032)
Diffstat (limited to 'skins/default')
-rw-r--r-- | skins/default/functions.js | 1 | ||||
-rw-r--r-- | skins/default/settings.css | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/skins/default/functions.js b/skins/default/functions.js index df8af15af..28af2e7e7 100644 --- a/skins/default/functions.js +++ b/skins/default/functions.js @@ -13,6 +13,7 @@ function rcube_init_settings_tabs() tab = '#settingstab' + (rcmail.env.action=='preferences' ? 'default' : (rcmail.env.action.indexOf('identity')>0 ? 'identities' : rcmail.env.action.replace(/\./g, ''))); $(tab).addClass('tablink-selected'); + $(tab + '> a').removeAttr('onclick').unbind('click').bind('click', function(){return false}); } function rcube_show_advanced(visible) diff --git a/skins/default/settings.css b/skins/default/settings.css index bf1ace072..b08a85fa0 100644 --- a/skins/default/settings.css +++ b/skins/default/settings.css @@ -42,6 +42,7 @@ span.tablink-selected a span.tablink-selected a { color: #000000; + cursor: default; } #rcmfd_timezone |