• Resolved HolaEffect

    (@holaeffect)


    In SGPBPopup.prototype.filterPopupLimitationCookie, this line threw an error, which caused the popup not to show at all:
    result.cookie = jQuery.parseJSON(cookie.domainLevelCookie);

    Reason: The cookie.domainLevelCookie value is empty.

    I changed the code this way:
    result.cookie = cookie.domainLevelCookie ? jQuery.parseJSON(cookie.domainLevelCookie) : '';

    Then it worked and the popup showed.

    • This topic was modified 6 years ago by HolaEffect.
    • This topic was modified 6 years ago by HolaEffect.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Sygnoos

    (@sygnoos)

    Hey @holaeffect,

    Thank you for reporting the issue.
    We will add a fix in our upcoming update.

    Could you please also give us the steps so we can reproduce the issue? Like the popup type, Popup Builder version?

    Thanks again for cooperation!

    Thread Starter HolaEffect

    (@holaeffect)

    This happened using an Image popup. (And it happened in Chrome and Firefox in MacOS, and on a Samsung Galaxy S9)

    Version 3.1.1

    Settings:
    Popup showing count: 1,
    Popup showing expiry: 1,
    Apply option on each page: unchecked

    Sygnoos

    (@sygnoos)

    Thank you very much @holaeffect for details! We will do our best to fix it ASAP!

    Dear @holaeffect,

    We’re happy to let you know that we have updated our plugin and this issue is solved in our latest version.
    Please, update the plugin and check it out! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘JS Error if Popup Limitation is set up’ is closed to new replies.