editor: fix children reordering (regression introducted when removed most of jquery calls) (issue #175)

This commit is contained in:
jean-emmanuel 2018-03-02 16:19:41 +01:00
parent 2639bf5677
commit 15cde03d95
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@
- bug fixes
- launcher: parse array options correctly when an item contains spaces,
- launcher: the terminal now grows and scrolls to bottom automatically
- editor: broken children reordering
- main
- add `--fullscreen` switch (default gui only, bypasses the sidepanel fullscreen button)
- widgets

View file

@ -112,7 +112,7 @@ module.exports = function editField(editor, widget, propName, defaultValue){
for (var i in widget.props[propName]) {
list.appendChild(DOM.create(`
<li class="sortables">
<li class="sortables" data-index="${i}">
<a class="btn small" data-action="select">${widget.props[propName][i].id}</a>
<span data-action="remove"><i class="fa fa-times"></i></span>
</li>