summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/web
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-09-17 23:50:21 +0200
committerDylan William Hardison <dylan@hardison.net>2018-09-17 23:50:21 +0200
commit078cd25cf89223457f6d79040dc701f179887b30 (patch)
treeee70db235782abad9280f6553a5ac5627479040b /extensions/BugModal/web
parent78a2dcba195b6ee3e44e4cd7df031d79bee2b491 (diff)
downloadbugzilla-078cd25cf89223457f6d79040dc701f179887b30.tar.gz
bugzilla-078cd25cf89223457f6d79040dc701f179887b30.tar.xz
Bug 1345673 - Open Bugzilla History in a New Window or Tab
Diffstat (limited to 'extensions/BugModal/web')
-rw-r--r--extensions/BugModal/web/bug_modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index a4ae83d72..55451d3bf 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -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