#1 August 7, 2015 1:43pm

jesse.glaves
Member
Registered: June 28, 2014
Posts: 124

Photo Gallery after 4.2.5 update

Hi there, Im experiencing some strange behavior with the Photo Gallery after updating to 4.2.5. I can't remember if I did something special to it or not, but here are the Javascript errors I am getting when I try to edit or delete photos from a Photo Gallery:

Uncaught TypeError: BigTreePhotoGallery.extend is not a function
Uncaught TypeError: CustomPhotoGallery is not a function

The icons do not respond when clicked. Thanks for the help.

Offline

#2 August 11, 2015 11:16am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Photo Gallery after 4.2.5 update

Sorry for the delayed response -- I was somehow unsubscribed from the Bug Reports forum!

It sounds like you might be using the BigTree 4.1 demo's Photo Gallery javascript (I think it's in /custom/admin/js/demo.js).
The 4.2 version is here: https://github.com/bigtreecms/BigTree-C … js/demo.js

Offline

#3 August 13, 2015 1:12pm

jesse.glaves
Member
Registered: June 28, 2014
Posts: 124

Re: Photo Gallery after 4.2.5 update

Thanks Tim. I used the new code, but I'm getting a different error now. Before I dig into it, I thought I'd check to see if you might know what's going on first:

Uncaught TypeError: Cannot read property 'toString' of undefined        lib.js:45
        htmlspecialchars @ lib.js:45
        editPhoto @ demo.js:60
        x.event.dispatch @ lib.js:3
        x.event.add.v.handle @ lib.js:3

Offline

#4 August 13, 2015 2:28pm

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 974

Re: Photo Gallery after 4.2.5 update

I honestly have no idea what that error would be sad

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.