Skip to content

Commit

Permalink
Added force js datepicker example.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltan-dulac committed Mar 19, 2013
1 parent f0ca159 commit d390bb8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion shared/js/html5Forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ var html5Forms = new function () {
}


alert(me.forceJSDatePicker)

if (!inputSupport.date || me.forceJSDatePicker) {
toLoad = toLoad.concat([
scriptDir + '../../shared/js/jscalendar-1.0/calendar-win2k-1.css',
Expand Down
2 changes: 1 addition & 1 deletion tests/html5Forms/dateTime.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
require <code>html5Widgets</code>. If you would like, you can
force <code>html5Widgets</code> to render the calendars even if there
is a native <code>date</code> implementation. Visit
<a href="dateTime-forcePolyfill.html">this
<a href="dateTime-forceJSCalendar.html">this
example to see how it works</a> and why you may want to consider this
option.</p>

Expand Down
6 changes: 4 additions & 2 deletions tests/html5Forms/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
<li><a href="autofocus.html"><code>autofocus</code> example</a></li>
<li><a href="placeholder.html"><code>placeholder</code> example</a></li>
<li><a href="range.html"><code>range</code> example</a></li>
<li><a href="datetime.html">the various <code>date</code> related widgets</a></li>
<li><a href="outputWithOninput.html"><code>output</code> tag with <code>oninput</code> event</a></li>
<li><a href="datetime.html">the various <code>date</code> related widgets</a>. Note that because of the
huge difference between WebKit's date-picker implementation, it is possible to
<a href="datetime-forceJSCalendar.html">force the JavaScript date picker instead of the native one</a>.</li>
<li><a href="outputWithOninput.html"><code>output</code> tag with <code>oninput</code> event</a></li>
<li><a href="color.html"><code>color</code> example</a></li>
<li><a href="errorMessageStyling.html">Error message styling example.</a></li>
<li><a href="validityStyling.html">Styling of the validation state of a form field</a> (i.e. <code>:on_valid</code>, <code>:on_invalid</code>)</li>
Expand Down

0 comments on commit d390bb8

Please sign in to comment.