From: Byron Jones Date: Mon, 5 Oct 2015 04:05:20 +0000 (+0800) Subject: Bug 1198519 - Add link to bug history page to the top-right drop-down menu X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7261d46a0b3075c8a55fdc056c35aaa7dfbe72b;p=thirdparty%2Fbugzilla.git Bug 1198519 - Add link to bug history page to the top-right drop-down menu --- diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index fd193b182..0947398d6 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -284,6 +284,8 @@ [% END %] +
+ diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js index f055144c1..202c85920 100644 --- a/extensions/BugModal/web/bug_modal.js +++ b/extensions/BugModal/web/bug_modal.js @@ -329,6 +329,13 @@ $(function() { $.scrollTo(id); }); + // show bug history + $('#action-history') + .click(function(event) { + event.preventDefault(); + document.location.href = 'show_activity.cgi?id=' + BUGZILLA.bug_id; + }); + // use scrollTo for in-page activity links $('.activity-ref') .click(function(event) {