quirkey/sammy

Update from Sammy 0.7.4 to 0.7.5 causes jquery ui datepicker to route when changing month.

Sopkillen opened this issue · 0 comments

Default behavior of the a tag used for month is not suppressed after upgrade.

Affected part in jquery ui seems to be:
ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ).apply( matched.elem, args );

if ( ret !== undefined ) {
if ( (event.result = ret) === false ) {
event.preventDefault();
event.stopPropagation();
}
}

Those two functions runs in 0.7.4 but not in 0.7.5.

You can see in this fiddle that sammys routing is triggered by month switching in 0.7.5.
http://jsfiddle.net/tj5bhxLm/#hello