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
I started using this plugin at v1.6 and did not have any issues.
I just recently upgraded to v1.7 for the safari support but I noticed an issue in v1.7 that I cannot duplicate in v1.6.
With v1.7, if I make my form dirty and then repeatedly click a link on the page and answer 'stay on the page', I am eventually navigated away from the page without receiving the confirmation popup. This occurs if my link clicks and answers to the prompt to stay on the page are quick, approximately a second or two apart from each other.
To illustrate my point, consider the following sequence of events (note this is just an example, not the only sequence that results in the issue):
Good find. This was one of the changes introduced into 1.7. Both IE and Chrome will raise multiple "beforeunload" events causing the popup to appear twice. To work around this, I used a timer (only show the message once in any given 1 second window) At the moment the timer is set for 1 second (1000 ms).
Hey there!
I want to first say thanks for the plugin!
I started using this plugin at v1.6 and did not have any issues.
I just recently upgraded to v1.7 for the safari support but I noticed an issue in v1.7 that I cannot duplicate in v1.6.
With v1.7, if I make my form dirty and then repeatedly click a link on the page and answer 'stay on the page', I am eventually navigated away from the page without receiving the confirmation popup. This occurs if my link clicks and answers to the prompt to stay on the page are quick, approximately a second or two apart from each other.
To illustrate my point, consider the following sequence of events (note this is just an example, not the only sequence that results in the issue):
The problem is not browser-specific; I was able to produce this issue using v1.7 in chrome, firefox, and IE.
Brian
The text was updated successfully, but these errors were encountered: