Support » Plugin: Mailjet Email Newsletter Marketing » Bad javascript send multiple Ajax request on widgets administration page

  • Resolved provincentd

    (@provincentd)


    Plugin version 5.0.11
    In the following file “src/widget/js/widget.js” at line 157,the selector is not precise enough :

    $("input[name='savewidget']").click();

    It trigger click event on all widgets save button and send as many ajax request as widgets …

    It should be something like:
    $(this).parents('.widget').find("[name='savewidget']").click();

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mailjet

    (@mailjet)

    Hello, thanks a lot for the suggestion. We will fix it in the next plugin release.

    Have a good day,
    Mailjet Plugins Team

    Plugin Author Mailjet

    (@mailjet)

    Hi, the fix has been released in the latest plugin version 5.1

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.