WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
[Plugin: WP e-Commerce] Ajax(add to cart) problem only in IE (1 post)

  1. Nikoskgr
    Member
    Posted 2 years ago #

    This is a problem only in IE(tested in IE8 and IE9), in FF and Chrome works fine.
    When you are trying to add a product to the basket then it gives an error to the line eval(returned_data); and the loading wheel it keeps spinning.

    I assumed that the problem was the eval() and i tried something like that:

    function loadMyFuncModule() {
    var dj_global = this; // global scope reference
    if (window.execScript) {
    window.execScript(returned_data); // eval in global scope for IE
    return null; // execScript doesn’t return anything
    }
    return dj_global.eval ? dj_global.eval(returned_data) : eval(returned_data);
    }
    loadMyFuncModule();

    But nothing changed..., does anyone have any idea about whats wrong with explorer?
    The site is http://scs.tv/our-products/
    Thanks!

    http://wordpress.org/extend/plugins/wp-e-commerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic