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

Removing first element does not correctly update field values #11

Open
Dachande663 opened this issue Apr 7, 2011 · 5 comments
Open

Comments

@Dachande663
Copy link

jquery.autosuggest.js:168
values_input.val(values_input.val().replace(","+last+",",","));

Fails to replace the item if the item is the first in the series as there is no preceeding comma.

@csanz
Copy link

csanz commented Jul 18, 2011

this is a big bug... it looks like autoSuggest maintenance is pretty slow.

@Dachande663
Copy link
Author

Fixed this in my local version by initially filling the field with a single comma, will submit a pull request when I get time.

@csanz
Copy link

csanz commented Jul 19, 2011

Thanks man

@Dachande663
Copy link
Author

I haven't submitted a pull request yet, but the updated file I mentioned can be found here: https://github.com/Dachande663/Plex-Export/blob/v2/templates/bacon/assets/js/jquery.autoSuggest.js

@csanz
Copy link

csanz commented Jul 20, 2011

Ok I made the update, thanks man!! send a pull request... I don't think he is actively maintaining this.... we should fork it and maintain a separate copy ha

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

No branches or pull requests

2 participants