Lp
1723651: Add Fallback for HTML5 Date Element in OPAC
Add some JavaScript code to check if the user's browser supports a
HTML5 element, and if not, we provide some fallback code to add an
input format tip and to provide a default value in some cases.
* A new JavaSCript function, supportsType(), is added to
opac/parts/js.tt2.
* Fallback code is added to opac/parts/place_hold.tt2 to offer the
format hint if the HTML5 date input element is not supported.
* Fallback code is added to opac/myopac/holds/edit.tt2 if the HTML5
date input element is not supported. This code adds a format hint
and sets a default value for the expire_time and thaw_date elements.
Signed-off-by: Jason Stephenson <jason@sigio.com>