You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is already a code for this purpose inside the plugin. But if you use ajax for submit, you need to remove dirty class from the form(s) or you need to unbind beforeunload handler.
This issue is actually because you are replacing the form element in your code, jquery are you sure still thinks its tracking the form but the assigned events are lost.
This bug seems to crop up after validation errors or such. You must add code similar to the following to fix this issue.
Hello!
I want to see the warning message only when I close the window or leave page, but not on the form submit.
So how can I disable the warning message on form submit?
The text was updated successfully, but these errors were encountered: