Commit b8cd280b authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Do not hide scroll buttons if some tabs are still hidden.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3178 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 7eb9cca6
......@@ -114,7 +114,7 @@ function displayTabsButtons() {
tabsWidth += lis[i].getWidth() + 6;
}
}
if (tabsWidth < el.getWidth() - 60) {
if ((tabsWidth < el.getWidth() - 60) && (lis[0].visible())) {
el.down('div.tabs-buttons').hide();
} else {
el.down('div.tabs-buttons').show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment