-
Notifications
You must be signed in to change notification settings - Fork 1
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
Token Popup not working on new repeater rows. #57
Comments
The popups and ACF repeater fields are probably added after dom loaded You have to attach the handler like this: jQuery("body").on('click', '.dynamic-element', function () { }); Not sure how the library handles this. Why did you choose: http://vadimsva.github.io/popModal/ ? The styles look not so great |
We are handing it with the 'On', but it's still not working, which makes me think it might be an issue with popModal. https://github.com/inboundnow/inbound-mailer/blob/master/classes/class.token-engine.php#L143-L158 I needed a simple and lightweight modal class that could be styled easily. How it is used I thinks looks decent : / |
Yeah that looks okay. I was looking at the libraries demo. I guess the main thing is when we are adding new libs to the code base that we don't duplicate functionality. We have the old old old popover thing for other settings pages too. We should remove the old stuff when adding new stuff that does the same thing
|
PS there is a fix for that ACF warning: On Fri, Sep 25, 2015 at 12:39 PM, Hudson Atwell [email protected]
|
Created issue here:
vadimsva/popModal#15
The text was updated successfully, but these errors were encountered: