Skip to content

Commit

Permalink
Issue_861 (#867)
Browse files Browse the repository at this point in the history
* closes #861

* solve issue #861

* CHANGES.rst file

* CHANGES.rst correct
  • Loading branch information
Mubra authored and hvelarde committed Sep 30, 2019
1 parent b790f1f commit 8b3c5c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ There's a frood who really knows where his towel is.
2.2.1 (unreleased)
^^^^^^^^^^^^^^^^^^

- Nothing changed yet.
- The 'drop' event and its 'target' method are used to obtain the element (column) and not generate ambiguity (fixes `#861 <https://github.com/collective/collective.cover/issues/861>`_). [Mubra]


2.2.0 (2019-02-26)
Expand Down
2 changes: 2 additions & 0 deletions webpack/app/js/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ export default class LayoutView {
}
new_tile.append(name_tag);

//the element is taken based on the 'drop' event
column_elem = e.target;
$(column_elem).append(new_tile);
this.delete_manager(new_tile);

Expand Down

0 comments on commit 8b3c5c8

Please sign in to comment.