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:
parent
7eb9cca660
commit
b8cd280bec
|
@ -114,7 +114,7 @@ function displayTabsButtons() {
|
||||||
tabsWidth += lis[i].getWidth() + 6;
|
tabsWidth += lis[i].getWidth() + 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (tabsWidth < el.getWidth() - 60) {
|
if ((tabsWidth < el.getWidth() - 60) && (lis[0].visible())) {
|
||||||
el.down('div.tabs-buttons').hide();
|
el.down('div.tabs-buttons').hide();
|
||||||
} else {
|
} else {
|
||||||
el.down('div.tabs-buttons').show();
|
el.down('div.tabs-buttons').show();
|
||||||
|
|
Loading…
Reference in New Issue