When using jqm 1.3.1, When clicking on the date text field
line 239 in jqm-databox-core.js cause an error:
var w = parseInt($.mobile.version.replace(/./g,''),10) > 110 ? $(this).data('mobileDatebox') : $(this).data('datebox');
after executing the line - w is undefined and event handling fails. It seems that "mobileDatabox" should be "mobile-datebox"
$(this) is defined as follows:
[
<input name="dateOfBirth" id="dateOfBirth" type="text" class="iso-form-field ui-input-text ui-body-c ui-corner-all ui-icon-datebox" placeholder="Date of Birth" data-role="datebox" data-options="{"mode":"flipbox", "useNewStyle":true,"useFocus":true, "useHeader":false, "useSetButton":true,
"maxYear":2000,"minYear":1960}" readonly="readonly">
]
mobileDatebox is stil available with jqm 1.3.1 but from jQuery 2.0.0 only mobile-datebox is available.
I've mentioned the problem and proposed a fix in #269
When using jqm 1.3.1, When clicking on the date text field
line 239 in jqm-databox-core.js cause an error: var w = parseInt($.mobile.version.replace(/./g,''),10) > 110 ? $(this).data('mobileDatebox') : $(this).data('datebox');
after executing the line - w is undefined and event handling fails. It seems that "mobileDatabox" should be "mobile-datebox"
$(this) is defined as follows:
[ <input name="dateOfBirth" id="dateOfBirth" type="text" class="iso-form-field ui-input-text ui-body-c ui-corner-all ui-icon-datebox" placeholder="Date of Birth" data-role="datebox" data-options="{"mode":"flipbox", "useNewStyle":true,"useFocus":true, "useHeader":false, "useSetButton":true, "maxYear":2000,"minYear":1960}" readonly="readonly"> ]