From: David Lawrence Date: Wed, 23 Feb 2011 06:06:05 +0000 (-0500) Subject: Bug 609968 - Allow local See Also links to show status/summary when mouseover X-Git-Tag: bugzilla-4.1.1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90062dd4e7d12189ee75bce626aaf4c6d9e3723d;p=thirdparty%2Fbugzilla.git Bug 609968 - Allow local See Also links to show status/summary when mouseover r=timello,a=mkanat --- diff --git a/Bugzilla/BugUrl/Bugzilla.pm b/Bugzilla/BugUrl/Bugzilla.pm index f8e714d9dc..53f174556b 100644 --- a/Bugzilla/BugUrl/Bugzilla.pm +++ b/Bugzilla/BugUrl/Bugzilla.pm @@ -59,4 +59,9 @@ sub _check_value { return $uri; } +sub target_bug_id { + my ($self) = @_; + return new URI($self->name)->query_param('id'); +} + 1; diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl index 900a782717..323b4b6bed 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -165,8 +165,7 @@ [% '