[e107 v2.4] Fix prettyPhoto page freeze in gallery.js (disabled deeplinking) #5651
Replies: 1 comment
|
Ciao @kreossino, grazie for digging into this and posting the patch. I've opened #5655 with a slightly different shape of fix, and I want to walk through why, because the symptoms you hit are real but the two halves of your patch have different proper homes. The
|


Uh oh!
There was an error while loading. Please reload this page.
I have updated gallery.js to disable the deeplinking feature in PrettyPhoto on our e107 (v2.4) platform running PHP 8.4.
Previously, it was appending a "#" tag to the page URL, which caused the entire page to freeze.
I also disabled social_tools to keep the configuration clean and stable.
This modification works perfectly for my e107 setup.
`
+++ gallery.js - original
modal: pPhoto.modal, // If set to true, only the close button will close the window
@@ -44,7 +46,8 @@
custom_markup: pPhoto.custom_markup,
`
All reactions