summaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugUrl
diff options
context:
space:
mode:
authorDavid Lawrence <dlawrence@mozilla.com>2011-02-23 07:06:05 +0100
committerDavid Lawrence <dlawrence@mozilla.com>2011-02-23 07:06:05 +0100
commit90062dd4e7d12189ee75bce626aaf4c6d9e3723d (patch)
tree4ec9e91be889eea91469e04701ff7389e091b755 /Bugzilla/BugUrl
parent60712d5d6f5db2a468bea0447744c06d5e8a487c (diff)
downloadbugzilla-90062dd4e7d12189ee75bce626aaf4c6d9e3723d.tar.gz
bugzilla-90062dd4e7d12189ee75bce626aaf4c6d9e3723d.tar.xz
Bug 609968 - Allow local See Also links to show status/summary when mouseover
r=timello,a=mkanat
Diffstat (limited to 'Bugzilla/BugUrl')
-rw-r--r--Bugzilla/BugUrl/Bugzilla.pm5
1 files changed, 5 insertions, 0 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;