Avoid scrolling in long hidden event list triggering change in date span

This commit is contained in:
Nathan Gray 2016-01-21 15:58:21 +00:00
parent ad05ac0cc3
commit 1a4bcebdcf

View File

@ -664,6 +664,13 @@ var et2_calendar_daycol = et2_valueWidget.extend([et2_IDetachedDOM, et2_IResizea
// Better re-run this to clean up // Better re-run this to clean up
day._out_of_view(); day._out_of_view();
return false; return false;
})
.on('wheel', function(e)
{
// Avoid bubbling & triggering change in date span
e.stopPropagation();
// IE?
e.cancelBubble;
}); });
} }
var count = parseInt(indicator.attr('data-hidden_count')) + 1 var count = parseInt(indicator.attr('data-hidden_count')) + 1