[bugzilla-gnome-org-extensions/production] browse: Fix product switching
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bugzilla-gnome-org-extensions/production] browse: Fix product switching
- Date: Tue, 16 Dec 2014 21:20:17 +0000 (UTC)
commit 5c575b0ab7aace7b9ba5570687d0d81bd96b076c
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Tue Dec 16 22:17:54 2014 +0100
browse: Fix product switching
Apparently adding parameters to form action does not work - page.cgi
wasn't getting any id parameter. Replaced it with hidden input passing
the missing parameter.
Browse/template/en/default/pages/browse.html.tmpl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Browse/template/en/default/pages/browse.html.tmpl
b/Browse/template/en/default/pages/browse.html.tmpl
index e89f08e..8e0a2f7 100644
--- a/Browse/template/en/default/pages/browse.html.tmpl
+++ b/Browse/template/en/default/pages/browse.html.tmpl
@@ -239,7 +239,8 @@
</ul>
</div>
-<form action="page.cgi?id=browse.html" method="get">
+<form action="page.cgi" method="get">
+<input type="hidden" name="id" value="browse.html">
<h1>
Browse:
<select name="product">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]