diff options
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/field.html.tmpl | 5 | ||||
-rw-r--r-- | template/en/default/bug/summarize-time.html.tmpl | 10 |
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 %] |