From a9f131f0513f8a1e19f712e7b6638e6742370715 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 1 Sep 2021 17:25:16 +0200 Subject: [PATCH] Fix reordering questions in forms --- www/form/inner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/form/inner.js b/www/form/inner.js index e8f2d0f92..ad290df1a 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -3500,6 +3500,7 @@ define([ }); if (editable) { + if (APP.mainSortable) { APP.mainSortable.destroy(); } APP.mainSortable = Sortable.create($container[0], { group: 'nested', direction: "vertical",