• 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 6 years, 4 months ago by nicomollet.
    • This topic was modified 6 years, 4 months ago by nicomollet.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin Javascript applied to all pages’ is closed to new replies.