-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Hi there,
In my project I want to add collection element in tab content with add buton in tab header. For that I use :
- after_add function : to add tab header foreach new element
- custom_add_location : to use a custom button in tab header
- elements_parent_selector : to automatically add my collection element into tab content div
The 2 fisrts elements works as espected but when I add elements_parent_selector, a standard add button is added at the end of my tab-content (my elements_parent_selector). The elements_parent_selector ignores custom_add_location.
I fix it by adding
if (settings.add && !settings.custom_add_location) {
to jquery.collection.js line 345.
Please see if you can fix it for a future release.
Thank you !
Metadata
Metadata
Assignees
Labels
No labels