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
This commit is contained in:
Jean-Philippe Lang 2009-12-17 18:23:00 +00:00
parent 7eb9cca660
commit b8cd280bec
1 changed files with 1 additions and 1 deletions

View File

@ -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();