fix clicking on monthname in navigation calendar always gave week-view

This commit is contained in:
Ralf Becker 2014-01-24 12:28:40 +00:00
parent 1b295f5c63
commit ca29a87092

View File

@ -21,7 +21,7 @@
current_view_url = script_tag.getAttribute('data-current-view-url'); current_view_url = script_tag.getAttribute('data-current-view-url');
link_day_url = script_tag.getAttribute('data-link-day-url'); link_day_url = script_tag.getAttribute('data-link-day-url');
link_week_url = script_tag.getAttribute('data-link-week-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'); flatdate = script_tag.getAttribute('data-date');
current_date = script_tag.getAttribute('data-current-date'); current_date = script_tag.getAttribute('data-current-date');
} }
@ -160,8 +160,7 @@
flatMonthCallback : (link_month_url)?monthClicked:'', flatMonthCallback : (link_month_url)?monthClicked:'',
flatMonthTTip : egw.lang('show this month'), flatMonthTTip : egw.lang('show this month'),
flatTodayCallback : (flatdate)?todayClicked:'', flatTodayCallback : (flatdate)?todayClicked:'',
date : (flatdate)?flatdate:'', date : (flatdate)?flatdate:''
}); });
}); });
})(); })();