summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2011-11-28 17:45:08 +0100
committerDave Lawrence <dlawrence@mozilla.com>2011-11-28 17:45:08 +0100
commitfaa17f97c750cd7c2a76c169a5c25e3bc5fe5937 (patch)
tree3af423699334c69473bc8c6a757d164d3c7632f2
parentfaac5e70ce92133773a2043619f9f23870beb14b (diff)
downloadbugzilla-faa17f97c750cd7c2a76c169a5c25e3bc5fe5937.tar.gz
bugzilla-faa17f97c750cd7c2a76c169a5c25e3bc5fe5937.tar.xz
Bug 704940 - Several custom bug filing templates (such as the IT request form) are throwing an error
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-brownbag.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-employee-incident.html.tmpl1
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl1
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-mktgevent.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-poweredby.html.tmpl4
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-presentation.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-swag.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-trademark.html.tmpl6
9 files changed, 16 insertions, 6 deletions
diff --git a/extensions/BMO/template/en/default/bug/create/create-brownbag.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-brownbag.html.tmpl
index 7016477f5..33ed80c1a 100644
--- a/extensions/BMO/template/en/default/bug/create/create-brownbag.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-brownbag.html.tmpl
@@ -90,6 +90,8 @@ function trySubmit() {
<input type="hidden" name="comment" id="comment" value="">
<input type="hidden" name="short_desc" id="short_desc" value="">
<input type="hidden" name="groups" value="mozilla-corporation-confidential">
+ <input type="hidden" name="token" value="[% token FILTER html %]">
+
<table>
<tr>
diff --git a/extensions/BMO/template/en/default/bug/create/create-employee-incident.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-employee-incident.html.tmpl
index 5c6238bf1..d9801b211 100644
--- a/extensions/BMO/template/en/default/bug/create/create-employee-incident.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-employee-incident.html.tmpl
@@ -127,6 +127,7 @@
<input type="hidden" id="cc" name="cc" value="">
<input type="hidden" id="groups" name="groups" value="">
<input type="hidden" id="format" name="format" value="employee-incident">
+ <input type="hidden" id="token" name="token" value="[% token FILTER html %]">
<table>
<tr>
diff --git a/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl
index d9b0579ba..637eae57a 100644
--- a/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl
@@ -40,6 +40,7 @@
<input type="hidden" name="op_sys" value="Other">
<input type="hidden" name="priority" value="--">
<input type="hidden" name="version" value="other">
+ <input type="hidden" name="token" value="[% token FILTER html %]">
<script type="text/javascript">
<!--
function setsevdesc(theSelect) {
diff --git a/extensions/BMO/template/en/default/bug/create/create-mktgevent.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-mktgevent.html.tmpl
index 8aaa84678..ea60f6c19 100644
--- a/extensions/BMO/template/en/default/bug/create/create-mktgevent.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-mktgevent.html.tmpl
@@ -101,6 +101,8 @@ function validateAndSubmit() {
<input type="hidden" name="bug_severity" id="bug_severity" value="normal">
<input type="hidden" name="short_desc" id="short_desc" value="">
<input type="hidden" name="groups" value="mozilla-corporation-confidential">
+ <input type="hidden" name="token" value="[% token FILTER html %]">
+
<table>
<tr>
diff --git a/extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl
index 0a2edb5ee..39a372351 100644
--- a/extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl
@@ -138,7 +138,6 @@
enctype="multipart/form-data" onSubmit="return trySubmit();">
<input type="hidden" id="format" name="format" value="mozlist">
<input type="hidden" id="product" name="product" value="mozilla.org">
- <input type="hidden" name="token" value="[% token FILTER html %]">
<input type="hidden" id="rep_platform" name="rep_platform" value="All">
<input type="hidden" id="op_sys" name="op_sys" value="Other">
<input type="hidden" id="priority" name="priority" value="--">
@@ -146,6 +145,7 @@
<input type="hidden" id="short_desc" name="short_desc" value="">
<input type="hidden" id="component" name="component" value="">
<input type="hidden" id="bug_severity" name="bug_severity" value="normal">
+ <input type="hidden" id="token" name="token" value="[% token FILTER html %]">
<table>
<tr id="listTypeTR" style="display: table-row;">
diff --git a/extensions/BMO/template/en/default/bug/create/create-poweredby.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-poweredby.html.tmpl
index c0b3ea237..2993865cb 100644
--- a/extensions/BMO/template/en/default/bug/create/create-poweredby.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-poweredby.html.tmpl
@@ -43,8 +43,8 @@ please provide some information about your application or product.</p>
<input type="hidden" name="priority" value="--">
<input type="hidden" name="op_sys" value="Other">
<input type="hidden" name="version" value="other">
- <!-- Marketing-Private -->
- <input type="hidden" name="groups" value="marketing-private">
+ <input type="hidden" name="groups" value="marketing-private">
+ <input type="hidden" name="token" value="[% token FILTER html %]">
<table>
<tr>
diff --git a/extensions/BMO/template/en/default/bug/create/create-presentation.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-presentation.html.tmpl
index b28a81004..fd8d3c655 100644
--- a/extensions/BMO/template/en/default/bug/create/create-presentation.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-presentation.html.tmpl
@@ -87,6 +87,8 @@ function trySubmit() {
<input type="hidden" name="comment" id="comment" value="">
<input type="hidden" name="short_desc" id="short_desc" value="">
<input type="hidden" name="groups" value="mozilla-corporation-confidential">
+ <input type="hidden" name="token" value="[% token FILTER html %]">
+
<table>
<tr>
diff --git a/extensions/BMO/template/en/default/bug/create/create-swag.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-swag.html.tmpl
index 2b47f60c5..58eb39d5f 100644
--- a/extensions/BMO/template/en/default/bug/create/create-swag.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-swag.html.tmpl
@@ -98,6 +98,8 @@ function validateAndSubmit() {
<input type="hidden" name="bug_severity" id="bug_severity" value="normal">
<input type="hidden" name="short_desc" id="short_desc" value="">
<input type="hidden" name="groups" value="mozilla-corporation-confidential">
+ <input type="hidden" name="token" value="[% token FILTER html %]">
+
<table>
<tr>
diff --git a/extensions/BMO/template/en/default/bug/create/create-trademark.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-trademark.html.tmpl
index 116564255..977ad00d4 100644
--- a/extensions/BMO/template/en/default/bug/create/create-trademark.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-trademark.html.tmpl
@@ -47,9 +47,9 @@
<input type="hidden" name="priority" value="P3">
<input type="hidden" name="op_sys" value="Other">
<input type="hidden" name="version" value="unspecified">
- <!-- Marketing-Private -->
- <input type="hidden" name="groups" value="marketing-private">
-
+ <input type="hidden" name="groups" value="marketing-private">
+ <input type="hidden" name="token" value="[% token FILTER html %]">
+
<table>
<tr>
<td align="right"><strong>Summary:</strong></td>