Skip Navigation

[Escalated to 2nd Tier] Multiple close buttons in Toolset Blocks slider Lightbox

This support ticket is created 2 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 2 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#2260001
toolset-bug-request.JPG
toolset-bug.JPG

When creating a slider in Toolset Blocks the Lightbox shows a large amount of closing buttons. The issue seems to be that every time an XMLHttpRequest is done the lightbox appends a new ".lb-dataContainer" element without deleting the old one. After some debugging the specific code responsible seems to be in "toolset-blocks/vendor/toolset/blocks/public/js/frontend.js". See screenshot.

To reproduce the problem:
1. Create an WordPress environment
2. Install Toolset Blocks
3. Create a page with a Toolset Blocks Slider
4. View page
5. Make a XMLHttpRequest (or multiple) the endpoint doesn't matter. (see screenshot for the code I used while debugging)
6. Open Lightbox

Step 5 and 6 could also be the other way around.

This issue has been reported before but was closed: https://toolset.com/forums/topic/issue-with-image-slider-block-lightbox-is-showing-several-close-buttons/

#2260191

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Martin,

Thank you for getting in touch.

This is a known issue and was previously reported by one of our team members. Unfortunately there isn't a solution at this time but i've added your ticket to the issue tracker as well so that I can get updates on the issue from our development team.

Once there is a fix/patch I will inform you.

Thanks,
Shane