Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Remove click handler from th for sorting #1533

Merged
merged 2 commits into from
Jul 26, 2021
Merged

Conversation

kulmann
Copy link
Contributor

@kulmann kulmann commented Jul 23, 2021

Description

Remaining fixes for fixing the table sorting for a11y. Click handler for sorting was firing double (once from the <th> and once from the <oc-button>). Since the table heading is now in the button as well, we don't need the click handler on the <th> anymore.

Fixes part (a) of owncloud/web#5380

@kulmann kulmann self-assigned this Jul 23, 2021
@kulmann kulmann requested a review from LukasHirt as a code owner July 23, 2021 14:14
@kulmann kulmann requested a review from lookacat July 23, 2021 14:15
@lookacat
Copy link
Contributor

@kulmann CI failes at unittests

@lookacat
Copy link
Contributor

LGTM :)

@kulmann
Copy link
Contributor Author

kulmann commented Jul 26, 2021

Thanks @pascalwengerter for fixing the sorting tests!

@kulmann kulmann merged commit 36d7c31 into a11y-updates Jul 26, 2021
@delete-merged-branch delete-merged-branch bot deleted the fix-table-sort branch July 26, 2021 18:31
pascalwengerter pushed a commit that referenced this pull request Aug 5, 2021
Remove click handler from th for sorting
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants