Home Forums Bug Reports Avoid Unnecessary JS Alert


Avoid Unnecessary JS Alert

  • Hi!

    I’m using a Google Map Field from ACF inside a custom template, it loads well and the data is saved correctly.

    But there is a situation that does not have to happen:

    I select the exact location on the map and when I want to save the page it shows a JS Alert, with the following message:

    (original in portuguese) “Esta página quer saber se você deseja mesmo sair – informações fornecidas podem ser perdidas”

    (I guess the translation in English would be more or less this): “This page wants to know if you really want to quit – information provided may be lost”

    with the option of “Stay on the page” or “Exit the page”.
    In fact the field has already been completed and there is nothing to lose.

    I want this Alert not to appear.
    Can anyone tell me if I can disable it in any way?

    Thanks any tips!


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.