summaryrefslogtreecommitdiffstats
path: root/extensions/MyDashboard
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-03-21 22:25:53 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-03-21 22:25:53 +0100
commit2b88ae92c4970f0ff5cccb5b607902f8752590c2 (patch)
tree5f2586b20f4ca9311877e93c227b23cb6b525a34 /extensions/MyDashboard
parent897f58ced15e63ca63e870a40991eaf97de84f2f (diff)
downloadbugzilla-2b88ae92c4970f0ff5cccb5b607902f8752590c2.tar.gz
bugzilla-2b88ae92c4970f0ff5cccb5b607902f8752590c2.tar.xz
Bug 849905 - bug filing links in my dashboard should be able to be opened in new tabs/windows
r=glob
Diffstat (limited to 'extensions/MyDashboard')
-rw-r--r--extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl4
-rw-r--r--extensions/MyDashboard/web/js/query.js2
2 files changed, 4 insertions, 2 deletions
diff --git a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl
index e96ee8cde..1549b0dc2 100644
--- a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl
+++ b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl
@@ -104,7 +104,9 @@
<div id="right">
<div id="prod_comp_search_main">
[% PROCESS prodcompsearch/form.html.tmpl
- input_label = "File a $terms.Bug:"
+ input_label = "File a $terms.Bug:"
+ script_name = "enter_bug.cgi"
+ new_tab = 1
%]
</div>
diff --git a/extensions/MyDashboard/web/js/query.js b/extensions/MyDashboard/web/js/query.js
index 62d373e65..4590bb603 100644
--- a/extensions/MyDashboard/web/js/query.js
+++ b/extensions/MyDashboard/web/js/query.js
@@ -54,7 +54,7 @@ YUI({
Y.one("#query_container .query_heading").setHTML(e.response.meta.heading);
Y.one("#query_bugs_found").setHTML(
'<a href="buglist.cgi?' + e.response.meta.buffer +
- '">' + e.response.results.length + ' bugs found</a>');
+ '" target="_blank">' + e.response.results.length + ' bugs found</a>');
dataTable.set('data', e.response.results);
}
},