Skip to content

Commit

Permalink
Debugging behat scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
senghe committed Sep 5, 2024
1 parent 327f827 commit a505793
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Resources/assets/admin/js/cms/cms-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ export class HandleTemplate {
});

$.each(data.content, function (index, element) {
elements.eq(index).val(element.type);
elements.eq(index).parent().add('<div>' + element.type + '</div>');
elements.eq(index).val(element.type.toString());
elements.eq(index).change();
});
} else {
Expand Down

0 comments on commit a505793

Please sign in to comment.