Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
Setting time with the setValue function will change the value in the display
box, but does not change value for the scroll wheel when activated.
var date2Values=new Array();
date2Values[0]="1";
date2Values[1]="1";
date2Values[2]="AM";
$('#date2').scroller('setValue', date2Values);
Original comment by brad.ste...@gmail.com
on 2 Jan 2012 at 4:52
Issue does not happen when preset is set to datetime, but only when preset is
set to time.
Original comment by brad.ste...@gmail.com
on 2 Jan 2012 at 5:11
Traced the issue down to lines 301 and 302 in mobiscroll-1.5.2.js
if (date.getFullYear() != year || date.getMonth() + 1 != month ||
date.getDate() != day)
throw 'Invalid date'; // E.g. 31/02/*
Original comment by brad.ste...@gmail.com
on 2 Jan 2012 at 6:09
I found the bug, line 184 should be:
month = def.getMonth() + 1,
Thanks for the bug report, the fix will be included in the next release.
Original comment by diosla...@gmail.com
on 3 Jan 2012 at 7:28
Fixed in 1.5.3
Original comment by diosla...@gmail.com
on 3 Jan 2012 at 10:09
Original issue reported on code.google.com by
brad.ste...@gmail.com
on 2 Jan 2012 at 4:41