Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Flickr Gallery IE Bug


Go to End


3 Posts   1577 Views

Avatar
www.salvatorecoda.info

Community Member, 2 Posts

26 April 2011 at 8:20pm

finding misconduct in the operation of Prew, to open the pop-up I have to click several times, the problem is found in IE 8, Mozilla is OK

judge: http://www.luigimontoro.it

Can anyone help me?

Thanks in advance

Avatar
alirobe

Community Member, 35 Posts

27 April 2011 at 2:52am

Edited: 27/04/2011 2:53am

I think that you might need to go to line 1233 of /flickrservice/javascript/lightwindow.js and replace...

if (!(typeof $('lightwindow_image_'+i).naturalWidth != "undefined" && $('lightwindow_image_'+i).naturalWidth == 0)) {

with

if (!(typeof $('lightwindow_image_'+i).naturalWidth != "undefined" && $('lightwindow_image_'+i).naturalWidth != 0)) {

If this works in all browsers, please report back and I'll submit a patch. If not, please report back and we can check the rest of the logic in that section of code.

Avatar
www.salvatorecoda.info

Community Member, 2 Posts

2 May 2011 at 4:36am

I made ​​the change but nothing has changed, but see for yourself