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

March 12, 2015 superadmin 0

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.