[Rt-commit] r5093 - in rt/branches/3.7-EXPERIMENTAL: html/Widgets

ruz at bestpractical.com ruz at bestpractical.com
Tue Apr 25 08:46:08 EDT 2006


Author: ruz
Date: Tue Apr 25 08:46:06 2006
New Revision: 5093

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Widgets/TitleBoxStart

Log:
 r2171 at cubic-pc (orig r4772):  trs | 2006-03-19 08:09:25 +0300
  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.7-EXPERIMENTAL/html/Widgets/TitleBoxStart
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Widgets/TitleBoxStart	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Widgets/TitleBoxStart	Tue Apr 25 08:46:06 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