[Rt-commit] r12710 - in rt/branches/3.8-TESTING: .
elacour at bestpractical.com
elacour at bestpractical.com
Wed May 28 07:58:39 EDT 2008
Author: elacour
Date: Wed May 28 07:58:37 2008
New Revision: 12710
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/share/html/Widgets/TitleBoxStart
Log:
r8970 at datura: manu | 2008-05-28 13:58:28 +0200
RT-Ticket: 7890
RT-Status: open
RT-Update: correspond
Add "'" and "\" to TitleBox Ids escaped chars to avoid breaking JS.
Modified: rt/branches/3.8-TESTING/share/html/Widgets/TitleBoxStart
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Widgets/TitleBoxStart (original)
+++ rt/branches/3.8-TESTING/share/html/Widgets/TitleBoxStart Wed May 28 07:58:37 2008
@@ -78,7 +78,7 @@
my $tid = "TitleBox--$page--" .
join '--', ($class, $bodyclass, $title, $id);
-$tid =~ s{[/\s]+}{_}g;
+$tid =~ s{[/\s'\\]+}{_}g;
my $i = 0;
$i++ while $m->notes("$tid-$i");
More information about the Rt-commit
mailing list