Skip to content

Commit

Permalink
Assign Layouts: shows error in console (#2882)
Browse files Browse the repository at this point in the history
  • Loading branch information
maurofmferrao authored Jan 28, 2025
1 parent 04880b4 commit e23f8a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/core/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -4590,7 +4590,7 @@ window.forms = {
dataTableDraw(e, settings);

// Clicky on the +spans
$('.assignItem', '#layoutAssignments').on('click', function() {
$('.assignItem', '#layoutAssignments').on('click', function(ev) {
// Get the row that this is in.
const data = layoutTable.row($(ev.currentTarget).closest('tr')).data();

Expand Down Expand Up @@ -4623,7 +4623,7 @@ window.forms = {
$('#FileAssociationsSortable').sortable();

// Bind to the existing items in the list
$('#FileAssociationsSortable').find('li span').on('click', function() {
$('#FileAssociationsSortable').find('li span').on('click', function(ev) {
container.data().layout[$(ev.currentTarget).parent().data().layoutId] = 0;
$(ev.currentTarget).parent().remove();
});
Expand Down

0 comments on commit e23f8a0

Please sign in to comment.