forked from Techsystech/web
Merge PR #2430 into 15.0
Signed-off-by pedrobaeza15.0-ocabot-merge-pr-2789-by-pedrobaeza-bump-patch
commit
e8d9b72fa8
|
@ -227,7 +227,11 @@ odoo.define("web_timeline.TimelineRenderer", function (require) {
|
||||||
this.qweb.add_template(tmpl);
|
this.qweb.add_template(tmpl);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.timeline = new vis.Timeline(this.$timeline.get(0));
|
this.timeline = new vis.Timeline(
|
||||||
|
this.$timeline.get(0),
|
||||||
|
{},
|
||||||
|
{xss: {disabled: true}}
|
||||||
|
);
|
||||||
this.timeline.setOptions(this.options);
|
this.timeline.setOptions(this.options);
|
||||||
if (this.mode && this["on_scale_" + this.mode + "_clicked"]) {
|
if (this.mode && this["on_scale_" + this.mode + "_clicked"]) {
|
||||||
this["on_scale_" + this.mode + "_clicked"]();
|
this["on_scale_" + this.mode + "_clicked"]();
|
||||||
|
|
Loading…
Reference in New Issue