summaryrefslogtreecommitdiff
path: root/skins/default/functions.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-10-25 09:34:38 +0000
committeralecpl <alec@alec.pl>2009-10-25 09:34:38 +0000
commit700ef1f09aeafd5f773737ad43fd4c284d3869b6 (patch)
tree9cb82238281da9b98dee82d34ac53496519002a2 /skins/default/functions.js
parent06e07571b651f959620c31c0d030f1adf62b590f (diff)
- Avoid unnecessary page loads for selected tab (#1486032)
Diffstat (limited to 'skins/default/functions.js')
-rw-r--r--skins/default/functions.js1
1 files changed, 1 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)