Galleria: update from empty to n images
See original GitHub issueWhen you have a Galleria without images, and you update it (going to n images), we receive the following Javascript error:
Uncaught TypeError: Cannot read properties of undefined (reading 'slideShowActive')
at ax.<computed>.<computed>._destroy (galleria.js?ln=primefaces&v=11.0.0:3:4355)
at ax.<computed>.<computed>._destroy (jquery-plugins.js?ln=primefaces&v=11.0.0:14:1153)
at ax.<computed>.<computed>.destroy (jquery-plugins.js?ln=primefaces&v=11.0.0:14:3881)
at ax.<computed>.<computed>.remove (jquery-plugins.js?ln=primefaces&v=11.0.0:14:3365)
at HTMLDivElement.aR (jquery-plugins.js?ln=primefaces&v=11.0.0:14:7288)
at HTMLDivElement.dispatch (jquery.js?ln=primefaces&v=11.0.0:2:43064)
at HTMLDivElement.v.handle (jquery.js?ln=primefaces&v=11.0.0:2:41048)
at Object.trigger (jquery.js?ln=primefaces&v=11.0.0:2:71515)
at S.fn.init.triggerHandler (jquery.js?ln=primefaces&v=11.0.0:2:72194)
at Function.cleanData (jquery-plugins.js?ln=primefaces&v=11.0.0:14:219)
Environment:
- PF Version: 11.0.0, 11.0.1, 11.0.2
- JSF + version: Mojarra 2.3.14.SP04
- Affected browsers: ALL
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Responsive Galleria - javascript - Stack Overflow
I'm trying to use this plugin Galleria in its responsive mode, which basically means it will re draw itself based on its container...
Read more >Photo Galleria - Webb County
Larga Vista Community Center. Address: 5401 Cisneros. Laredo, Texas 78043. Get Directions. Phone: 956-523-5085. Fax: 956-795-0736. Mon-Fri 8am - 5pm.
Read more >Galleria update by fileupload makes it disappear
I have a <p:fileUpload> and when I upload a new picture I want my galleria to update. The issue is that the galleria...
Read more >Galleria's new owner says mall's 'not dead,' vows hard work to ...
Leo Karruli, new owner of The Johnstown Galleria, purchased the mall for $3 million at an online auction in August. Photo taken at...
Read more >[Update] Galleria redevelopment approved by Redondo ...
The South Bay Galleria redevelopment project is on track, despite objections from the City of Lawndale, the Galleria's neighbor to the north.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@melloware Thanks for the above code snippet. Works like a charm!
MonkeyPatch solves it too, but you may not forget about it of course. 😃