Hey guys, not sure what is going on here but for whatever reason (this was working) i cant get a reusable element on a page with a button to trigger another reusable element on the same page to open. I get a general error.
“Bug in custom code ReferenceError: bubble_fn_pop is not defined”
am i doing something silly/gone blind/stupid?
I am not trying to do anything special, no data at this stage, just trigger a popup/floating group.
are you on the latest plugin version? I have setup a new separate app and I still get the same issues… i even just used “1” no spaces, tried async ticked, unticked just to see etc …just an undefined error.
So the popup ID is not visible when the popup is not shown on page load (obviously) and from this I assume the sending reusable cant find the popup (as its not show) receiving JavaScript.
is this the case?
I have been using another method to open reusable using custom states with the new reusable element properties but thought this may be easier…
from the docs above by the plugin author, that I didn’t read correctly - so my bad.
“If the app throws this error, the most likely cause of the error is the Javascript to Bubble element is hidden. This prevents it from creating the function bubble_fn_a.”
@Eugene_West ah yea, a mixed group combo would probably do it, ill give that a test.
@adamhholmes I actually just put the js element on the page (before i read this) rather than in the RE and tested it to trigger the event and it worked, so it looks like that it the key - thanks.