From ca29a87092992bd2d7c7ba7879d8b50c46a7fab9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 24 Jan 2014 12:28:40 +0000 Subject: [PATCH] fix clicking on monthname in navigation calendar always gave week-view --- calendar/js/navigation.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/calendar/js/navigation.js b/calendar/js/navigation.js index 2d6bfc35fa..3f71ea8e78 100644 --- a/calendar/js/navigation.js +++ b/calendar/js/navigation.js @@ -21,7 +21,7 @@ current_view_url = script_tag.getAttribute('data-current-view-url'); link_day_url = script_tag.getAttribute('data-link-day-url'); link_week_url = script_tag.getAttribute('data-link-week-url'); - link_month_url = script_tag.getAttribute('data-link-week-url'); + link_month_url = script_tag.getAttribute('data-link-month-url'); flatdate = script_tag.getAttribute('data-date'); current_date = script_tag.getAttribute('data-current-date'); } @@ -160,8 +160,7 @@ flatMonthCallback : (link_month_url)?monthClicked:'', flatMonthTTip : egw.lang('show this month'), flatTodayCallback : (flatdate)?todayClicked:'', - date : (flatdate)?flatdate:'', - + date : (flatdate)?flatdate:'' }); }); })(); \ No newline at end of file