diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-03-21 22:25:53 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-03-21 22:25:53 +0100 |
commit | 2b88ae92c4970f0ff5cccb5b607902f8752590c2 (patch) | |
tree | 5f2586b20f4ca9311877e93c227b23cb6b525a34 /extensions/MyDashboard | |
parent | 897f58ced15e63ca63e870a40991eaf97de84f2f (diff) | |
download | bugzilla-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.tmpl | 4 | ||||
-rw-r--r-- | extensions/MyDashboard/web/js/query.js | 2 |
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); } }, |