diff --git a/themes/grav/js/admin-all.js b/themes/grav/js/admin-all.js index cc389de0..856c9542 100644 --- a/themes/grav/js/admin-all.js +++ b/themes/grav/js/admin-all.js @@ -436,10 +436,13 @@ $(function () { template = el.find('[data-collection-template="new"]').html(); // make sortable - new Sortable(holder[0], { onUpdate: function () { - if (isArray) - reIndex(el); - } }); + new Sortable(holder[0], { + filter: '.form-input-wrapper', + onUpdate: function () { + if (isArray) + reIndex(el); + } + }); // hook up delete el.on('click', '[data-action="delete"]', function (e) {