Home Virtuemart development Lightbox / slimbox special characters patch

VirtueMart Shopping Cart

Your Cart is currently empty.


Lightbox / slimbox special characters patch

  The slimbox version included in virtuemart does not handle properly images with special characters, like (, [ and sometimes spaces.The bug can be solved editing the file /components/com_virtuemart/js/slimbox/js/slimbox.js,and replacing the line 139:
this.image.style.backgroundImage = 'url('+this.images[this.activeImage][0]+')';with:
this.image.style.backgroundImage = 'url("'+this.images[this.activeImage][0]+'")';

Copyright © 2017 JoomlaVM. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.

Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.

joomlavm.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.