|
@@ -31,7 +31,7 @@ Calendar.prototype.isEventInstanceGroupAllowed = function(eventInstanceGroup) {
|
|
|
for (i = 0; i < eventFootprints.length; i++) {
|
|
for (i = 0; i < eventFootprints.length; i++) {
|
|
|
if (
|
|
if (
|
|
|
eventAllowFunc(
|
|
eventAllowFunc(
|
|
|
- convertFootprintToLegacySelection(eventFootprints[i].componentFootprint, this),
|
|
|
|
|
|
|
+ eventFootprints[i].componentFootprint.toLegacy(this),
|
|
|
eventFootprints[i].toLegacy()
|
|
eventFootprints[i].toLegacy()
|
|
|
) === false
|
|
) === false
|
|
|
) {
|
|
) {
|
|
@@ -67,7 +67,7 @@ Calendar.prototype.isSelectionFootprintAllowed = function(componentFootprint) {
|
|
|
selectAllowFunc = this.opt('selectAllow');
|
|
selectAllowFunc = this.opt('selectAllow');
|
|
|
|
|
|
|
|
if (selectAllowFunc) {
|
|
if (selectAllowFunc) {
|
|
|
- return selectAllowFunc(componentFootprint.toLegacy()) !== false;
|
|
|
|
|
|
|
+ return selectAllowFunc(componentFootprint.toLegacy(this)) !== false;
|
|
|
}
|
|
}
|
|
|
else {
|
|
else {
|
|
|
return true;
|
|
return true;
|