[Rt-commit] r15169 - in rt/3.8/trunk: .
falcone at bestpractical.com
falcone at bestpractical.com
Thu Aug 14 16:02:58 EDT 2008
Author: falcone
Date: Thu Aug 14 16:02:55 2008
New Revision: 15169
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/share/html/Elements/PageLayout
Log:
r38366 at ketch: falcone | 2008-08-14 16:01:53 -0400
Use the raw path rather than the trimmed one.
The trimming strips trailing /s which breaks
relative links
RT-Ticket: 11576
RT-Status: resolved
RT-Action: Correspond
Modified: rt/3.8/trunk/share/html/Elements/PageLayout
==============================================================================
--- rt/3.8/trunk/share/html/Elements/PageLayout (original)
+++ rt/3.8/trunk/share/html/Elements/PageLayout Thu Aug 14 16:02:55 2008
@@ -92,7 +92,7 @@
push @li, 'last' if $tab eq $tabs[-1];
$class->{li} = join ' ', @li;
- my $href = $path;
+ my $href = $page_tabs->{$tab}->{'path'} || "";
$href = RT->Config->Get('WebPath') .'/'. $href
unless $path =~ /^\w+:/;
my $target = $page_tabs->{$tab}->{'target'} || '';
More information about the Rt-commit
mailing list