summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorMarc Schumann <wurblzap@gmail.com>2012-05-18 14:09:05 +0200
committerMarc Schumann <wurblzap@gmail.com>2012-05-18 14:09:05 +0200
commit7298d3241bea1272ba316c437007d9c07c4ed8b4 (patch)
tree9fffa7925ed8e6d20869c495d0a3b95c490db48b /template/en/default/bug
parentd3a92bd63e702f066685ea03dec649c08e0ff6b2 (diff)
downloadbugzilla-7298d3241bea1272ba316c437007d9c07c4ed8b4.tar.gz
bugzilla-7298d3241bea1272ba316c437007d9c07c4ed8b4.tar.xz
The calendar widget is not localizable.
r/a=LpSolit https://bugzilla.mozilla.org/show_bug.cgi?id=581365
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/field.html.tmpl5
-rw-r--r--template/en/default/bug/summarize-time.html.tmpl10
2 files changed, 8 insertions, 7 deletions
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl
index e6660256f..1f0ea175a 100644
--- a/template/en/default/bug/field.html.tmpl
+++ b/template/en/default/bug/field.html.tmpl
@@ -56,8 +56,9 @@
<div id="con_calendar_[% field.name FILTER html %]"></div>
<script type="text/javascript">
- createCalendar('[% field.name FILTER js %]')
- </script>
+ <!--
+ [%+ PROCESS "global/calendar.js.tmpl" id = field.name %]
+ //--></script>
[% CASE constants.FIELD_TYPE_BUG_ID %]
<span id="[% field.name FILTER html %]_input_area">
<input name="[% field.name FILTER html %]" id="[% field.name FILTER html %]"
diff --git a/template/en/default/bug/summarize-time.html.tmpl b/template/en/default/bug/summarize-time.html.tmpl
index 3978a1c59..932a6e3f4 100644
--- a/template/en/default/bug/summarize-time.html.tmpl
+++ b/template/en/default/bug/summarize-time.html.tmpl
@@ -332,10 +332,10 @@
</form>
<script type="text/javascript">
-<!--
- createCalendar('start_date');
- createCalendar('end_date');
- document.forms['summary'].start_date.focus();
-//--></script>
+ <!--
+ [%+ PROCESS "global/calendar.js.tmpl" id = 'start_date' %]
+ [% PROCESS "global/calendar.js.tmpl" id = 'end_date' %]
+ document.forms['summary'].start_date.focus();
+ //--></script>
<hr noshade size=1>
[% END %]