[IMP][web_timeline] Review

This commit is contained in:
Adrien Peiffer (ACSONE)
2016-06-03 09:48:48 +02:00
committed by Tom Blauwendraat
parent 2a5f64c717
commit b70bcec993
2 changed files with 10 additions and 8 deletions

View File

@@ -323,8 +323,6 @@ openerp.web_timeline = function(instance) {
this.timeline.setGroups(groups);
this.timeline.setItems(data);
this.timeline.setWindow(this.current_window);
//this.timeline.moveTo(new Date(), true);
//this.timeline.zoom(0.5, new Date());
},
do_show: function() {
@@ -403,7 +401,6 @@ openerp.web_timeline = function(instance) {
null,
{readonly: true, title: title}
);
//pop.on('closed', self, self.reload);
var form_controller = pop.view_form;
form_controller.on("load_record", self, function() {
var footer = pop.$el.closest(".modal").find(".modal-footer");