mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fixed today button in navigation-calendar to stay in current-view und just change to todays date
This commit is contained in:
parent
f13dca4c34
commit
628070da5e
@ -77,7 +77,7 @@
|
|||||||
function dateChanged(calendar) {
|
function dateChanged(calendar) {
|
||||||
|
|
||||||
if (calendar.dateClicked) {
|
if (calendar.dateClicked) {
|
||||||
egw_link_handler(link_day_url+"&date=" + calendar.date.print("%Y%m%d"),"calendar");
|
egw_link_handler(link_day_url+"&date=" + calendar.date.print("%Y%m%d"),"calendar");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,7 +87,7 @@
|
|||||||
* @returns {undefined}
|
* @returns {undefined}
|
||||||
*/
|
*/
|
||||||
function todayClicked(calendar) {
|
function todayClicked(calendar) {
|
||||||
egw_link_handler(link_day_url+"&date="+ current_date ,"calendar");
|
egw_link_handler(current_view_url+"&date="+ current_date ,"calendar");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user