Skip to content

Commit fd09bb5

Browse files
author
Adrien Peiffer (ACSONE)
committed
[IMP][web_timeline] Review
1 parent 40943e2 commit fd09bb5

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

web_timeline/README.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ http://visjs.org/timeline_examples.html
1414
Usage
1515
=====
1616

17-
Exemple:
17+
Example:
1818
<?xml version="1.0" encoding="utf-8"?>
1919
<openerp>
2020
<data>
@@ -47,14 +47,19 @@ Exemple:
4747
Bug Tracker
4848
===========
4949

50-
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
51-
In case of trouble, please check there if your issue has already been reported.
52-
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
53-
`here <https://github.com/OCA/web/issues/new?body=module:%20web_timeline%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
50+
Bugs are tracked on `GitHub Issues
51+
<https://github.com/OCA/web/issues>`_. In case of trouble, please
52+
check there if your issue has already been reported. If you spotted it first,
53+
help us smashing it by providing a detailed and welcomed feedback.
5454

5555
Credits
5656
=======
5757

58+
Images
59+
------
60+
61+
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
62+
5863
Contributors
5964
------------
6065

web_timeline/static/src/js/web_timeline.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,6 @@ openerp.web_timeline = function(instance) {
323323
this.timeline.setGroups(groups);
324324
this.timeline.setItems(data);
325325
this.timeline.setWindow(this.current_window);
326-
//this.timeline.moveTo(new Date(), true);
327-
//this.timeline.zoom(0.5, new Date());
328326
},
329327

330328
do_show: function() {
@@ -403,7 +401,6 @@ openerp.web_timeline = function(instance) {
403401
null,
404402
{readonly: true, title: title}
405403
);
406-
//pop.on('closed', self, self.reload);
407404
var form_controller = pop.view_form;
408405
form_controller.on("load_record", self, function() {
409406
var footer = pop.$el.closest(".modal").find(".modal-footer");

0 commit comments

Comments
 (0)