diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-01-16 09:14:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-01-16 09:14:02 +0000 |
commit | 2ec87100a91f88e8eb220225141a3873e9aaf933 (patch) | |
tree | 0a10c1053ed62e44ab494fedc21d5bd3c2d3c478 /public/javascripts | |
parent | aaeb0807bfd7f22433a2dd84ec7145b501465bb6 (diff) | |
download | redmine-2ec87100a91f88e8eb220225141a3873e9aaf933.tar.gz redmine-2ec87100a91f88e8eb220225141a3873e9aaf933.zip |
Tab left/right buttons for project menu (#20632).
Patch by Felix Gliesche.
git-svn-id: http://svn.redmine.org/redmine/trunk@15067 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts')
-rw-r--r-- | public/javascripts/application.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 9c6c7a47d..b247907ad 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -620,6 +620,13 @@ function setupAjaxIndicator() { }); } +function setupTabs() { + if($('.tabs').length > 0) { + displayTabsButtons(); + $(window).resize(displayTabsButtons); + } +} + function hideOnLoad() { $('.hol').hide(); } @@ -677,3 +684,4 @@ $(document).ready(setupAjaxIndicator); $(document).ready(hideOnLoad); $(document).ready(addFormObserversForDoubleSubmit); $(document).ready(defaultFocus); +$(document).ready(setupTabs); |