[Rt-commit] r11861 - in rt/branches/3.8-TESTING: html/Elements

jesse at bestpractical.com jesse at bestpractical.com
Wed Apr 23 18:17:09 EDT 2008


Author: jesse
Date: Wed Apr 23 18:17:05 2008
New Revision: 11861

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/html/Elements/Menu

Log:
 r30043 at 31b:  jesse | 2008-04-23 18:16:13 -0400
 * Allow "mailto:" links as nav menu items


Modified: rt/branches/3.8-TESTING/html/Elements/Menu
==============================================================================
--- rt/branches/3.8-TESTING/html/Elements/Menu	(original)
+++ rt/branches/3.8-TESTING/html/Elements/Menu	Wed Apr 23 18:17:05 2008
@@ -86,7 +86,7 @@
 %
 %     $class->{li} = join ' ', @li;
 %
-%     my $url = ($toptabs->{$tab}->{'path'}||'') =~ /^https?:/i
+%     my $url = ($toptabs->{$tab}->{'path'}||'') =~ /^(?:https?|mailto):/i
 %         ? $toptabs->{$tab}->{'path'} || ''
 %         : RT->Config->Get('WebPath') . "/" . $toptabs->{$tab}->{'path'};
 %     


More information about the Rt-commit mailing list