When a popup is clicked, it appears as it should, but after the first time it becomes inactive. Only when the zoom level changes and the map is redrawn the popup works again. This is specific to 7.x-2.0-beta3 with API 2.12. The dev version is not affected, but doesn't seem stable enough for production sites.

Comments

manojsaini’s picture

Same thing happening for me as well

Georgique’s picture

Confirmed, though for me even changing zoom doesn't help.

Rob C’s picture

Are you both running a lot of other contrib modules? I'm thinking some other javascript may be messing things up. (non drupal core / non openlayers). You could also try to update to 2.x-dev to see if that solves the issue, but make a backup of your site before attempting this (obviously).

camhoward’s picture

This sounds like a duplicate of Popup only works once. Have you tried applying the patch posted in that issue? It solved this problem for me.

Rob C’s picture

@camhoward that patch you point to is already committed, so try 2.x-dev, it already contains that patch.

Georgique’s picture

I will try (patch) today evening

jhood’s picture

I can confirm the patch found by following the link in #4 fixed the issue for me. I'm currently using 7.x-2.0-beta3 of openlayers.

BParticle’s picture

Status: Active » Fixed

Yes, it works! This is indeed the working patch against openlayers version 7.x-2.0-beta3: http://drupal.org/node/1876702#comment-6978956

I didn't find that issue, so I'm sorry for the duplicate. The description of this problem was a little generic, that's why. I'll mark this fixed.

Rob C’s picture

Status: Fixed » Closed (duplicate)

Then let's close it up as a dupe of #1876702: Popup only works once (so other people don't need to read everything).