- Fix tabs when have fieldset inside a fieldset

This commit is contained in:
alecpl
2011-01-03 20:29:18 +00:00
parent aff04d6fc4
commit 5206569e85

View File

@@ -67,7 +67,7 @@ function rcube_init_tabs(id, current)
function rcube_show_tab(id, index)
{
var content = document.getElementById(id),
fs = $('fieldset', content);
fs = $('fieldset', content).not('fieldset > fieldset');
fs.each(function(idx) {
// Show/hide fieldset (tab content)