version 1.352, 2013/07/22 11:46:23
|
version 1.353, 2013/11/17 14:40:31
|
Line 2938 ENDSCRIPT
|
Line 2938 ENDSCRIPT
|
############################################## |
############################################## |
|
|
sub resize_scrollbox_js { |
sub resize_scrollbox_js { |
my ($context,$tabidstr) = @_; |
my ($context,$tabidstr,$tid) = @_; |
my (%names,$paddingwfrac,$offsetwfrac,$offsetv,$minw,$minv); |
my (%names,$paddingwfrac,$offsetwfrac,$offsetv,$minw,$minv); |
if ($context eq 'docs') { |
if ($context eq 'docs') { |
%names = ( |
%names = ( |
Line 2974 window.onresize=callResize;
|
Line 2974 window.onresize=callResize;
|
|
|
'; |
'; |
if ($context eq 'docs') { |
if ($context eq 'docs') { |
$output .= ' |
if ($env{'form.active'}) { |
var activeTab; |
$output .= "\nvar activeTab = '$env{'form.active'}$tid';\n"; |
'; |
} else { |
|
$output .= "\nvar activeTab = '';\n"; |
|
} |
} |
} |
$output .= <<"FIRST"; |
$output .= <<"FIRST"; |
|
|