Support » Plugin: Mailjet Email Marketing » Admin Javascript applied to all pages

  • Resolved nicomollet

    (@nicomollet)


    Hello

    In its current state the script mailjet.js is loaded on every page of the admin.

    Some functions of this script should not be loaded on every page, as it alters the behaviour of all features of the admin, not only Mailjet admin page.

    For example, this function disables autocomplete on all input of the whole admin:

    
    $(document).on('focus', ':input', function () {
      $(this).attr('autocomplete', 'off');
    });
    

    Is it possible to make it contextual to Mailjet admin page?
    Thank you

    • This topic was modified 1 year, 6 months ago by nicomollet.
    • This topic was modified 1 year, 6 months ago by nicomollet.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mailjet

    (@mailjet)

    Hi, we’ll check this issue together with the one regarding bootstrap.css.

    Kind regards,
    Mailjet Plugins Team

    Plugin Author Mailjet

    (@mailjet)

    Should be fine starting from v5 of the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin Javascript applied to all pages’ is closed to new replies.