• Resolved Andi Lee Davis

    (@andi-lee-davis)


    Version: 2.5.3
    ultimate_social_media_icons.php
    Line 423

    Bug – missing closing brace } causing a Javascript error.

    Solution:

    Add a closing brace to close off the funcion: sfsi_processfurther

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author socialdude

    (@socialdude)

    Beautiful, thank you Andi! That just earned you a 50% discount for https://www.ultimatelysocial.com/usm-premium/ if you ever need it ?? Just reach out to us there if interested.

    Plugin Contributor socialtech

    (@socialtech)

    We will include the fix in the next version of the plugin.

    Estou com o mesmo problema!

    function sfsi_processfurther(ref) {

    var feed_id = ”;
    var feedtype = 8;

    var email = jQuery(ref).find(‘input[name=”email”]’).val();

    var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;

    if ((email != “Enter your email”) && (filter.test(email))) {
    if (feed_id != “”) {

    if (feedtype == “8”) {

    var url = “https://api.follow.it/subscription-form/” + feed_id + “/” + feedtype;

    window.open(”, “popupwindow”, “scrollbars=yes,width=1080,height=760″);

    ref.action=url;

    ref.target=”popupwindow”;

    return true;

    }else{

    return false

    }

    } else {

    alert(“Please enter email address”);

    jQuery(ref).find(‘input[name=”email”]’).focus();

    return false;
    }
    }

    Plugin Author socialdude

    (@socialdude)

    We just uploaded a new version which should have it fixed. Could you please update and confirm?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Uncaught SyntaxError: Unexpected end of input’ is closed to new replies.