(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:
Francis Lachapelle committed 2016-10-12 11:01:59 -04:00
1 parent e20d2281db
commit c50c3763b1
4 files changed
+14 -5

No files matched your search

@@ -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);