Drupal – Lightbox overlay Double click issue in IE 10 and greater

Drupal Lightbox2 overlay IE10 issue

I have faced the double click issue for overlay (Lightbox module in drupal) when using Internet Explorer 10. I explored lot of the sites and finally i got a solution for this problem. I tested this issue in chrome, firefox and IE < 10 and the overlay was working just fine.But i faced this issue only in IE10 and greater.Solution:Find the below lines in the "overlay-parent.js" file

path.replace(new RegExp(Drupal.settings.basePath + ‘(?:index.php)?’), ”);

Replace it with below lines

path = path.replace("//", "/");
  path.replace(new RegExp(Drupal.settings.basePath + '+(?:index.php)?'), ''); 

I think this may help you.

Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkedin
Share On Pinterest

Be the first to comment

Leave a Reply

Your email address will not be published.

*


*