Skip to content

Conversation

@Grandi0z
Copy link
Member

Related task

Added explicit click handler for .search_update button in route_handlers.js to ensure search works on first click.

@Grandi0z Grandi0z requested a review from kroky September 16, 2025 22:17
@marclaporte
Copy link
Member

Super!

Once it's merged in master (and thus will be part of 2.5.0 soon), please also fix in 1.4.x

$('.combined_sort').on("change", function() { Hm_Message_List.sort($(this).val()); });

// Add explicit handler for search form submission to fix double-click issue
$('.search_update').on("click", function(e) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.search_update is a submit button. We shouldn't need to emulate its behaviour of form submission. The proper fix here would be to find the reason why clicking it one time doesn't submit the form and fix that - probably other event handlers kicking in?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bug seems to be fixed since yesterday. I am looking for the recent PR to identify the fix

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants