Fix reordering questions in forms

This commit is contained in:
yflory 2021-09-01 17:25:16 +02:00
parent 415ee6018b
commit bcd4d88f81

View file

@ -2987,6 +2987,7 @@ define([
updateAddInline();
if (editable) {
if (APP.mainSortable) { APP.mainSortable.destroy(); }
APP.mainSortable = Sortable.create($container[0], {
direction: "vertical",
filter: "input, button, .CodeMirror, .cp-form-type-sort, .cp-form-block-type.editable",