From 91ae795be29e4ab48da994e1e33c21b2d3c524b5 Mon Sep 17 00:00:00 2001 From: Simon Green Date: Tue, 21 Jan 2014 09:29:22 +1000 Subject: Bug 913364 - Reuse preset values when navigation through enter_bug.cgi r=glob, a=glob --- template/en/default/global/choose-product.html.tmpl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'template/en/default/global/choose-product.html.tmpl') diff --git a/template/en/default/global/choose-product.html.tmpl b/template/en/default/global/choose-product.html.tmpl index b6b75fdbc..5dc619087 100644 --- a/template/en/default/global/choose-product.html.tmpl +++ b/template/en/default/global/choose-product.html.tmpl @@ -11,8 +11,6 @@ # classification object and 'products' the list of # product objects the user can enter bugs into. # target: the script that displays this template. - # cloned_bug_id: ID of the bug being cloned. - # format: the desired format to display the target. #%] [% IF target == "enter_bug.cgi" %] @@ -30,6 +28,7 @@ [% DEFAULT title = "Choose a Product" %] [% PROCESS global/header.html.tmpl %] +[% previous_params = cgi.canonicalise_query('classification', 'product') %]

[% h2 FILTER html %]

@@ -46,8 +45,7 @@ -- cgit v1.2.3-24-g4f1b
+ [%- IF previous_params %]&[% previous_params FILTER none %][% END -%]"> [% p.name FILTER html FILTER no_break %]