Browse Source

Fix for multiple tabs on the same page (#20271).

Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@14624 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.2.0
Jean-Philippe Lang 8 years ago
parent
commit
63bc3d4f89
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      public/javascripts/application.js

+ 2
- 1
public/javascripts/application.js View File



function displayTabsButtons() { function displayTabsButtons() {
var lis; var lis;
var tabsWidth = 0;
var tabsWidth;
var el; var el;
$('div.tabs').each(function() { $('div.tabs').each(function() {
el = $(this); el = $(this);
lis = el.find('ul').children(); lis = el.find('ul').children();
tabsWidth = 0;
lis.each(function(){ lis.each(function(){
if ($(this).is(':visible')) { if ($(this).is(':visible')) {
tabsWidth += $(this).width() + 6; tabsWidth += $(this).width() + 6;

Loading…
Cancel
Save