Skip to content

Commit

Permalink
[FIX] add_events function call
Browse files Browse the repository at this point in the history
Fixes: #1077
  • Loading branch information
Dennis Sluijk committed Oct 16, 2018
1 parent 910e98f commit d5fb98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_timeline/static/src/js/timeline_renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ var CalendarRenderer = AbstractRenderer.extend({
if (!this.date_start) {
throw new Error(_t("Timeline view has not defined 'date_start' attribute."));
}
this.add_events();
this._super.apply(this, self);
},

Expand All @@ -63,7 +64,6 @@ var CalendarRenderer = AbstractRenderer.extend({
},

_render: function () {
this.add_events();
var self = this;
return $.when().then(function () {
// Prevent Double Rendering on Updates
Expand Down

0 comments on commit d5fb98f

Please sign in to comment.