[Rt-commit] r4772 - in rt/branches/3.5-TESTING: html/Widgets

trs at bestpractical.com trs at bestpractical.com
Sun Mar 19 00:09:25 EST 2006


Author: trs
Date: Sun Mar 19 00:09:25 2006
New Revision: 4772

Modified:
   rt/branches/3.5-TESTING/   (props changed)
   rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart

Log:
 r9240 at wintermute:  tom | 2006-03-19 00:08:22 -0500
 RT-Ticket: 7415
 RT-Status: resolved
 RT-Action: correspond
 
 Removed invalid slash (/) character from titlebox IDs.


Modified: rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart
==============================================================================
--- rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart	(original)
+++ rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart	Sun Mar 19 00:09:25 2006
@@ -73,9 +73,12 @@
 # This should be pretty bulletproof
 #
 my $page = $m->request_comp->path;
+
 my $tid  = "TitleBox--$page--" .
             join '--', ($class, $bodyclass, $title, $id);
 
+$tid =~ s{/}{_}g;
+
 my $i = 0;
 $i++ while $m->notes("$tid-$i");
 $m->notes("$tid-$i" => 1);


More information about the Rt-commit mailing list