Patch #20271 ยป 0001-Fix-display-tab-function-for-more-than-one-set-of-ta.patch
| public/javascripts/application.js | ||
|---|---|---|
|
function displayTabsButtons() {
|
||
|
var lis;
|
||
|
var tabsWidth = 0;
|
||
|
var tabsWidth;
|
||
|
var el;
|
||
|
$('div.tabs').each(function() {
|
||
|
el = $(this);
|
||
|
lis = el.find('ul').children();
|
||
|
tabsWidth = 0;
|
||
|
lis.each(function(){
|
||
|
if ($(this).is(':visible')) {
|
||
|
tabsWidth += $(this).width() + 6;
|
||