Add some special handling to deal with legacy calendar links in non-list favorites

This commit is contained in:
Nathan Gray 2014-12-15 16:39:52 +00:00
parent b98972582c
commit 7e91c1559e

View File

@ -165,6 +165,16 @@ app.classes.home = AppJS.extend(
et2.DOMContainer.id = et2.uniqueId;
}
}
// Special handling to deal with legacy (non-et2) calendar links
if(name == 'home.legacy')
{
$j('.calendar_calDayColHeader a, .calendar_plannerDayScale a, .calendar_plannerWeekScale a, .calendar_plannerMonthScale a', et2.DOMContainer)
.on('click', function(e) {
egw.link_handler(this.href,'calendar');
return false;
});
}
},
/**