summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/bug
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-12-18 06:23:19 +0100
committerByron Jones <glob@mozilla.com>2014-12-18 06:23:19 +0100
commit4ccf1f41b4d167de56e4dca2cad0db8bf16dcf56 (patch)
tree222a166b5b95266028b7ca021604df26bcbe4571 /extensions/BMO/template/en/default/bug
parentee7b573838a8d4e30c3d71d8f8c3d1ad9fbde032 (diff)
downloadbugzilla-4ccf1f41b4d167de56e4dca2cad0db8bf16dcf56.tar.gz
bugzilla-4ccf1f41b4d167de56e4dca2cad0db8bf16dcf56.tar.xz
Bug 1108631: Add the due_date field to the "Mozilla PR" product and update the mozpr form to use it
Diffstat (limited to 'extensions/BMO/template/en/default/bug')
-rw-r--r--extensions/BMO/template/en/default/bug/create/comment-mozpr.txt.tmpl2
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl16
2 files changed, 9 insertions, 9 deletions
diff --git a/extensions/BMO/template/en/default/bug/create/comment-mozpr.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-mozpr.txt.tmpl
index bfd421388..6cbc038cf 100644
--- a/extensions/BMO/template/en/default/bug/create/comment-mozpr.txt.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/comment-mozpr.txt.tmpl
@@ -19,7 +19,7 @@ Project Description and Scope:
Start Date: [% cgi.param("start_date") %]
Announcement Date: [% cgi.param("announce_date") %]
- Internal Deadline: [% cgi.param("deadline") %]
+ Internal Deadline: [% cgi.param("cf_due_date") %]
== Owners
diff --git a/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl
index f231ea3b9..2f0d8c2dd 100644
--- a/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl
@@ -125,7 +125,7 @@ function toggle_linked(id, value, suffix) {
}
}
else {
- YAHOO.util.Dom.addClass(id + suffix, 'bz_default_hidden');
+ YAHOO.util.Dom.addClass(id + suffix, 'bz_default_hidden');
}
}
@@ -199,7 +199,7 @@ function validate_form() {
if (!isFilledOut('start_date')) missing.push(['start_date', 'Start Date']);
if (!isFilledOut('announce_date')) missing.push(['announce_date', 'Announcement Date']);
- if (!isFilledOut('deadline')) missing.push(['deadline', 'Internal Deadline']);
+ if (!isFilledOut('cf_due_date')) missing.push(['cf_due_date', 'Internal Deadline']);
if (!isFilledOut('pr_owner')) missing.push(['pr_owner', 'Project PR Owner']);
if (!isFilledOut('owner')) missing.push(['owner', 'Project Owner']);
@@ -347,16 +347,16 @@ function validate_form() {
</div>
<div class="field">
- <label for="deadline" class="required">Internal Deadline</label>
- <input name="deadline" id="deadline" value="" class="calendar"
+ <label for="cf_due_date" class="required">Internal Deadline</label>
+ <input name="cf_due_date" id="cf_due_date" value="" class="calendar"
onchange="updateCalendarFromField(this)">
- <button type="button" class="calendar_button" id="button_calendar_deadline"
- onclick="showCalendar('deadline')">
+ <button type="button" class="calendar_button" id="button_calendar_cf_due_date"
+ onclick="showCalendar('cf_due_date')">
<span>Calendar</span>
</button>
- <div id="con_calendar_deadline"></div>
+ <div id="con_calendar_cf_due_date"></div>
<script type="text/javascript">
- createCalendar('deadline')
+ createCalendar('cf_due_date')
</script>
</div>