Skip to content

Commit

Permalink
Fix user search enter key refresh (#2846)
Browse files Browse the repository at this point in the history
  • Loading branch information
maurofmferrao authored Jan 9, 2025
1 parent c4cf72d commit b8ef072
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ui/src/core/xibo-cms.js
Original file line number Diff line number Diff line change
Expand Up @@ -1705,8 +1705,9 @@ window.XiboFormRender = function(sourceObj, data = null) {
$('#folder-tree-form-modal').remove();
}

// Call Xibo Init for this form
// Call Xibo Init and Init Datatables for this form
XiboInitialise('#' + dialog.attr('id'));
XiboInitDatatables('#' + dialog.attr('id'));

if (dialog.find('.XiboForm').attr('id') != undefined) {
// if this is add form and we have some folderId
Expand Down
2 changes: 1 addition & 1 deletion ui/src/core/xibo-datatables.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ window.XiboInitDatatables = function(scope, options) {
}
}

// Prevent enter key to submit form
// Handle clear filter
$target.find('.XiboFilter .clear-filter-btn').off()
.on('click', function() {
// Reset fields
Expand Down

0 comments on commit b8ef072

Please sign in to comment.