web mailing list archives

web@odoo-community.org

Avatar

Re: [OCA/web] [11.0][ADD] web_view_calendar_list (#1512)

by Enric Tobella <notifications@github.com> - 13/07/2020 10:45:53

@etobella commented on this pull request.


In web_view_calendar_list/static/src/js/calendar_list_renderer.js:

> +                    // compute title: in week mode, display the week number
+                    var title = mode === 'week' ? view.intervalStart.week() : view.title;
+                    self.trigger_up('viewUpdated', {
+                        mode: mode,
+                        title: title,
+                    });
+                },
+                height: 'parent',
+                unselectAuto: false,
+                locale: locale, // reset locale when fullcalendar has already been instanciated before now
+            });
+
+            this.$calendar.fullCalendar(fc_options);
+        },
+
+        _render: function () {

I will add the comment on the JS


You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.