Skip to content

Commit

Permalink
FIX: use case for new rows
Browse files Browse the repository at this point in the history
  • Loading branch information
allrude committed Dec 28, 2024
1 parent 99b071f commit 7b04a56
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Block/Adminhtml/Form/Field/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ protected function _getElementHtml(AbstractElement $element): string
tolerance: 'pointer'
});
$('#" . $id . " thead tr').prepend('<th></th>');
$('#" . $id . " tfoot tr').prepend('<th></th>');
$('#" . $id . " tbody tr').prepend('<td><span class=\"draggable-handle\" style=\"display: flex; justify-content: center; align-items: center; margin-top: 0.5rem\"></span></td>');
$('#" . $id . " tbody tr td:last-child').prepend('<span class=\"draggable-handle\" style=\"display: inline-flex; justify-content: center; align-items: center; margin-block: 0.5rem; margin-inline-end: 2rem; vertical-align: baseline;\"></span>');
});
});
</script>";
Expand Down

0 comments on commit 7b04a56

Please sign in to comment.