joomdev / JD-Builder

JD Builder - Experience the Next Generation of Joomla Page Builder.
https://www.joomdev.com/jd-builder
GNU General Public License v3.0
22 stars 16 forks source link

refreshJDLightbox is not defined #25

Closed FaySmash closed 4 years ago

FaySmash commented 4 years ago

Since I updated to JD Builder 1.6.0, I get dozens of this Error Messages in the Console: error

Those Messages are caused by this HTML, which appears in every DOM Element with the jdb-image Class:

<script>
      refreshJDLightbox();
   </script>
chetanmadaan commented 4 years ago

This is probably because of the newer version. If you open the page you are having issued on and save it again. It should go away. Make sure you are running 1.6.1

FaySmash commented 4 years ago

I opened the Page in JD Builder, changed something and saved. The issue still persists tho. I'm running 1.6.1 (which appears to be the same than 1.6.0 according to github?)

chetanmadaan commented 4 years ago

The problem is with the image elements. Can you try opening the individual image element and saving it and see if that fixes the issue?

FaySmash commented 4 years ago

I created a new Page and added an Image Element, the Problem still appears. I exported the Page and attached it. jdb-test-layout27-13May20.json.txt

chetanmadaan commented 4 years ago

Thanks. I'll run some test here.

FaySmash commented 4 years ago

Fixed in 1.7.0