summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-17 18:23:00 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-17 18:23:00 +0000
commitb8cd280bec05f76c0a889f9650fc1a88b33ddc4e (patch)
tree3d26f0bd9e2b556b4b3db86d136cedf8cc348e07 /public
parent7eb9cca660d22bfdd64ebc2c80280be71b51b20a (diff)
downloadredmine-b8cd280bec05f76c0a889f9650fc1a88b33ddc4e.tar.gz
redmine-b8cd280bec05f76c0a889f9650fc1a88b33ddc4e.zip
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
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/application.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 1a5e0c04f..5221bf4ce 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -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();