Error looking up data-settings tag if popup triggers are dynamically loaded
-
Hi there,
If popup triggers are loaded to the content at later time (eg. using ajax) instead of when the page initialize, an JS error “i.do_default is undefined” occurs when clicking the trigger. This is because dynamically loaded triggers miss the “data-settings” tag.As a temporary workaround, I manually add “data-settings=”” to the trigger.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Error looking up data-settings tag if popup triggers are dynamically loaded’ is closed to new replies.