Not certain if this issue is more of a conditional fields issue, or a popups_reference issue, but it's a minor annoyance and would be great to see it fixed.
It would not be an issue if the div containing the add new links was added to the page within the container div of the field, since that field is toggled between hidden and visible by the conditional fields module as expected. There's not a good way to target the div the add new links live in since it doesn't have a class or id, but I've managed to hide it by writing some simple JS to track when the controlling field value changes and hiding or showing all children of the appropriate popups-reference-# container div.
Not sure if there's an elegant solution for this at the moment, but it's something that would certainly be beneficial for myself. I'm sure others would appreciate it too.
Comments
Comment #1
sweimer commentedsubscribe
Comment #2
petertj commentedPosting to bump this issue, as it's been idle for almost a year... surprised there aren't more people asking for this.
The module is awesome in all other ways for me so far.
willvincent, if you have a snippet of your js (and you're still listening) - that would be awesome!