Commit be3bfd84 authored by Thomas Sibley's avatar Thomas Sibley
Browse files

RT-Ticket: 7415

RT-Status: resolved
RT-Action: correspond

Removed invalid slash (/) character from titlebox IDs.

git-svn-id: svn+ssh://svn.bestpractical.com/svn/bps-public/rt/branches/3.5-TESTING@4772 e417ac7c-1bcc-0310-8ffa-8f5827389a85
parent 0e543fcb
......@@ -73,9 +73,12 @@ $hideable => 1
# 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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment