From 90062dd4e7d12189ee75bce626aaf4c6d9e3723d Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 23 Feb 2011 01:06:05 -0500 Subject: Bug 609968 - Allow local See Also links to show status/summary when mouseover r=timello,a=mkanat --- Bugzilla/BugUrl/Bugzilla.pm | 5 +++++ template/en/default/bug/field.html.tmpl | 17 +++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/Bugzilla/BugUrl/Bugzilla.pm b/Bugzilla/BugUrl/Bugzilla.pm index f8e714d9d..53f174556 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 900a78271..323b4b6be 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -165,8 +165,7 @@ [% '