Skip to content

Commit

Permalink
Fix for drag create gesture
Browse files Browse the repository at this point in the history
  • Loading branch information
tarteo committed Sep 14, 2018
1 parent feb44e9 commit f654c14
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions project_timeline_critical_path/static/src/js/backend.js
Expand Up @@ -16,6 +16,9 @@ odoo.define('project_timeline_critical_path.backend', function(require) {
var task_ids = _.flatten(_.values(paths));
var to_draw = [];
_.each(items, function(item, item_id) {
if (!item.data.evt) {
return;
}
_.each(item.data.evt[self.dependency_arrow], function(id) {
if (_.has(items, id)) {
if (_.contains(task_ids, id) &&
Expand Down

0 comments on commit f654c14

Please sign in to comment.