mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-29 09:00:31 +00:00
(js) Add automatic refresh of calendar view
We were only refreshing the selected component list, we now also refresh the calendar view.
This commit is contained in:
@@ -111,6 +111,12 @@
|
||||
changeDate($event, date);
|
||||
}
|
||||
|
||||
/**
|
||||
* Format a date according to the current view.
|
||||
* - Day/Multicolumn: name of weekday
|
||||
* - Week: week number
|
||||
* - Month: name of month
|
||||
*/
|
||||
function _formatDate(date) {
|
||||
if ($stateParams.view == 'month') {
|
||||
date.setDate(1);
|
||||
|
||||
Reference in New Issue
Block a user