From a9e044bb6659d9c380f796a45a70e3b27ec33329 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 26 May 2007 06:10:40 +0000 Subject: =?UTF-8?q?Bug=20381837:=20Clicking=20a=20bug=20in=20the=20depende?= =?UTF-8?q?ncy=20graph=20will=20open=20the=20search=20page=20instead=20of?= =?UTF-8?q?=20the=20bug=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric?= =?UTF-8?q?=20Buclin=20=20(original=20idea=20from=20Seb?= =?UTF-8?q?astian=20W.H.=20Czymaj=20)=20r=3Dmkanat=20a=3D?= =?UTF-8?q?LpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- showdependencygraph.cgi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'showdependencygraph.cgi') diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 92b6bd450..b12e65c85 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -65,14 +65,12 @@ sub CreateImagemap { $default = qq{\n}; } - if ($line =~ /^rectangle \((.*),(.*)\) \((.*),(.*)\) (http[^ ]*)(.*)?$/) { - my ($leftx, $rightx, $topy, $bottomy, $url) = ($1, $3, $2, $4, $5); + if ($line =~ /^rectangle \((.*),(.*)\) \((.*),(.*)\) (http[^ ]*) (\d+)$/) { + my ($leftx, $rightx, $topy, $bottomy, $url, $bugid) = ($1, $3, $2, $4, $5, $6); # Pick up bugid from the mapdata label field. Getting the title from # bugtitle hash instead of mapdata allows us to get the summary even # when showsummary is off, and also gives us status and resolution. - - my ($bugid) = ($6 =~ /^\s*(\d+)/); my $bugtitle = value_quote($bugtitles{$bugid}); $map .= qq{