From 127b3c0dc3d99ade13a1c2af05544db9a7e52afa Mon Sep 17 00:00:00 2001 From: Willem Verspyck Date: Thu, 26 Aug 2021 11:19:56 +0200 Subject: [PATCH] Fix missing icon for changing position in collection type --- .../edit_one_to_many_sortable_script_table.html.twig | 2 +- .../Association/edit_one_to_many_sortable_script_tabs.html.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Resources/views/CRUD/Association/edit_one_to_many_sortable_script_table.html.twig b/src/Resources/views/CRUD/Association/edit_one_to_many_sortable_script_table.html.twig index fa8fa97157..db6ff381e7 100644 --- a/src/Resources/views/CRUD/Association/edit_one_to_many_sortable_script_table.html.twig +++ b/src/Resources/views/CRUD/Association/edit_one_to_many_sortable_script_table.html.twig @@ -21,7 +21,7 @@ file that was distributed with this source code. jQuery('div#field_container_{{ id }} tbody.sonata-ba-tbody td.sonata-ba-td-{{ id }}-{{ sonata_admin.field_description.option('sortable') }}').each(function(index, element) { // remove the sortable handler and put it back jQuery('span.sonata-ba-sortable-handler', element).remove(); - jQuery(element).append(''); + jQuery(element).append(''); jQuery('input', element).hide(); }); diff --git a/src/Resources/views/CRUD/Association/edit_one_to_many_sortable_script_tabs.html.twig b/src/Resources/views/CRUD/Association/edit_one_to_many_sortable_script_tabs.html.twig index 0616e2ddc7..879b1f49c6 100644 --- a/src/Resources/views/CRUD/Association/edit_one_to_many_sortable_script_tabs.html.twig +++ b/src/Resources/views/CRUD/Association/edit_one_to_many_sortable_script_tabs.html.twig @@ -24,7 +24,7 @@ file that was distributed with this source code. var tabs = parent.find('> .nav-tabs'); jQuery('.sonata-ba-sortable-handler', tabs).remove(); $('
  • ') - .prepend('') + .prepend('') .appendTo(tabs); jQuery('input', element).hide(); });