diff options
author | Marc Schumann <wurblzap@gmail.com> | 2012-05-18 14:09:05 +0200 |
---|---|---|
committer | Marc Schumann <wurblzap@gmail.com> | 2012-05-18 14:09:05 +0200 |
commit | 7298d3241bea1272ba316c437007d9c07c4ed8b4 (patch) | |
tree | 9fffa7925ed8e6d20869c495d0a3b95c490db48b /template/en/default/search | |
parent | d3a92bd63e702f066685ea03dec649c08e0ff6b2 (diff) | |
download | bugzilla-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/search')
-rw-r--r-- | template/en/default/search/field.html.tmpl | 7 | ||||
-rw-r--r-- | template/en/default/search/form.html.tmpl | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/template/en/default/search/field.html.tmpl b/template/en/default/search/field.html.tmpl index dd5e1fac7..34a480f31 100644 --- a/template/en/default/search/field.html.tmpl +++ b/template/en/default/search/field.html.tmpl @@ -82,9 +82,10 @@ <span id="con_calendar_[% field.name FILTER html %]to"></span> <script type="text/javascript"> - createCalendar('[% field.name FILTER js %]'); - createCalendar('[% field.name FILTER js %]to'); - </script> + <!-- + [%+ PROCESS "global/calendar.js.tmpl" id = field.name %] + [% PROCESS "global/calendar.js.tmpl" id = field.name _ 'to' %] + //--></script> [% CASE [ constants.FIELD_TYPE_SINGLE_SELECT, constants.FIELD_TYPE_MULTI_SELECT ] %] <div id="container_[% field.name FILTER html %]" class="search_field_grid"> diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index fc6f597cf..48980b633 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -319,9 +319,10 @@ TUI_hide_default('information_query'); <div id="con_calendar_chfieldto"></div> (YYYY-MM-DD or relative dates) <script type="text/javascript"> - createCalendar('chfieldfrom'); - createCalendar('chfieldto'); - </script> + <!-- + [%+ PROCESS "global/calendar.js.tmpl" id = 'chfieldfrom' %] + [% PROCESS "global/calendar.js.tmpl" id = 'chfieldto' %] + //--></script> </li> </ul> |