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

Two Add New button when using with mutliselect #15

Open
yvestrublin opened this issue Oct 23, 2014 · 0 comments
Open

Two Add New button when using with mutliselect #15

yvestrublin opened this issue Oct 23, 2014 · 0 comments

Comments

@yvestrublin
Copy link

The "Add New" button appear two times when QuickAddNew is used with the multiselect select2 plugin (https://github.com/sheadawson/silverstripe-select2).

I changed the Javascript file quickaddnew.js, line#2 with:
var fieldSelector = '.field.quickaddnew-field .quickaddnew-field:last';

It's working fine for now.

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

1 participant