mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Add some special handling to deal with legacy calendar links in non-list favorites
This commit is contained in:
parent
b98972582c
commit
7e91c1559e
@ -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;
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user