Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URLInput fixes #319

Merged
2 commits merged into from
Feb 18, 2022
Merged

URLInput fixes #319

2 commits merged into from
Feb 18, 2022

Conversation

peolic
Copy link
Contributor

@peolic peolic commented Feb 14, 2022

No description provided.

if a duplicate url was added, removing it would cause the first url to be removed
and then the remove buttons would not remove the correct urls.
same issue as BodyMods had previously, fixed by using `remove` directly.
also reset site select on paste if url does not match any site
prevents mistakenly adding urls for unmatching sites
@ghost ghost merged commit 9810bf4 into stashapp:develop Feb 18, 2022
@peolic peolic deleted the url-input-fixes branch February 18, 2022 19:28
InfiniteStash pushed a commit that referenced this pull request Nov 9, 2022
* fix removing sites

if a duplicate url was added, removing it would cause the first url to be removed
and then the remove buttons would not remove the correct urls.
same issue as BodyMods had previously, fixed by using `remove` directly.

* force site detection on paste event

also reset site select on paste if url does not match any site
prevents mistakenly adding urls for unmatching sites
InfiniteStash pushed a commit that referenced this pull request Nov 9, 2022
* fix removing sites

if a duplicate url was added, removing it would cause the first url to be removed
and then the remove buttons would not remove the correct urls.
same issue as BodyMods had previously, fixed by using `remove` directly.

* force site detection on paste event

also reset site select on paste if url does not match any site
prevents mistakenly adding urls for unmatching sites
This pull request was closed.
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.

1 participant