]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1345673 - Open Bugzilla History in a New Window or Tab
authorKohei Yoshino <kohei.yoshino@gmail.com>
Mon, 17 Sep 2018 21:50:21 +0000 (17:50 -0400)
committerDylan William Hardison <dylan@hardison.net>
Mon, 17 Sep 2018 21:50:21 +0000 (17:50 -0400)
extensions/BugModal/web/bug_modal.js

index a4ae83d72cd01a5077016abaf0385d10baf93ce4..55451d3bf827ecc9ac532e91fbf15551a5e930d9 100644 (file)
@@ -448,7 +448,7 @@ $(function() {
     $('#action-history')
         .click(function(event) {
             event.preventDefault();
-            document.location.href = 'show_activity.cgi?id=' + BUGZILLA.bug_id;
+            window.open(`show_activity.cgi?id=${BUGZILLA.bug_id}`, '_blank');
         });
 
     // use scrollTo for in-page activity links