Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix error on loading autocomplete library when user is not authenticated#482

Merged
joefutrelle merged 1 commit into
masterfrom
fix_tag_name
Nov 12, 2025
Merged

fix error on loading autocomplete library when user is not authenticated#482
joefutrelle merged 1 commit into
masterfrom
fix_tag_name

Conversation

@mike-kaimika
Copy link
Copy Markdown
Collaborator

This PR fixes a bug that was found when viewing a dataset w/o being authenticated. The UI to add tags will initialize an autocomplete library on the textbox used for entering in the name of the tag to add. This UI is only enabled when the user is logged in, so unauthenticated users were getting a javascript error

I've added a checked to ensure that textbox is in the DOM prior to initializing the library, preventing the error

@mike-kaimika mike-kaimika added this to the 4.5.2 milestone Nov 12, 2025
@mike-kaimika mike-kaimika self-assigned this Nov 12, 2025
@joefutrelle joefutrelle merged commit 581898b into master Nov 12, 2025
@mike-kaimika mike-kaimika deleted the fix_tag_name branch February 9, 2026 02:53
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.

2 participants