diff options
author | Sebastin Santy <sebastinssanty@gmail.com> | 2017-12-13 18:05:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-13 18:05:48 +0100 |
commit | 988a42a2dc199716f5c9c6e371ffcf9493c68112 (patch) | |
tree | db1d8a548104fbce8e65c7af99745d41e5d304bd /extensions/BugModal/template/en/default | |
parent | e5b9cf95e4522cb670a71c3bd02e73e38b45997e (diff) | |
download | bugzilla-988a42a2dc199716f5c9c6e371ffcf9493c68112.tar.gz bugzilla-988a42a2dc199716f5c9c6e371ffcf9493c68112.tar.xz |
Bug 1424940 - Support HTML5 datepicker
Diffstat (limited to 'extensions/BugModal/template/en/default')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/field.html.tmpl | 4 | ||||
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/header.html.tmpl | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl index d123ca696..38bde1d01 100644 --- a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl @@ -282,14 +282,14 @@ END; [% CASE constants.FIELD_TYPE_DATETIME %] [%# datetime %] - <input class="cf_datetime" name="[% name FILTER html %]" id="[% name FILTER html %]" + <input type="datetime-local" name="[% name FILTER html %]" id="[% name FILTER html %]" value="[% value FILTER html %]" [% aria_labelledby_html FILTER none %]> <img class="cf_datetime-img" id="[% name FILTER html %]-img" src="extensions/BugModal/web/calendar.png" width="16" height="16"> [% CASE constants.FIELD_TYPE_DATE %] [%# date %] - <input class="cf_date" name="[% name FILTER html %]" id="[% name FILTER html %]" + <input type="date" name="[% name FILTER html %]" id="[% name FILTER html %]" value="[% value FILTER html %]" [% aria_labelledby_html FILTER none %]> <img class="cf_date-img" id="[% name FILTER html %]-img" src="extensions/BugModal/web/calendar.png" width="16" height="16"> diff --git a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl index a91d11576..d92ad455d 100644 --- a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl @@ -60,7 +60,6 @@ "js/util.js" ); jquery.push( - "datetimepicker", "contextMenu", "visibility" ); @@ -68,7 +67,6 @@ "extensions/BugModal/web/bug_modal.css", "extensions/BugModal/web/dropdown.css", "skins/standard/bug_groups.css", - "js/jquery/plugins/datetimepicker/datetimepicker.css", "js/jquery/plugins/contextMenu/contextMenu.css" ); |