facultymatt / angular-unsavedChanges

angular-unsavedChanges
175 stars 81 forks source link

Warning alert shows up twice #58

Closed coonsa2 closed 8 years ago

coonsa2 commented 8 years ago

The alert dialog box appears again after clicking ok to say you're okay with leaving these changes behind. Here's what I'm using on the form tag, I'm not sure why it shows up twice

gkTim commented 8 years ago

I also have the problem that the message appears twice. I've added unsaved-warning-form to the form tag.

Stargator commented 8 years ago

@coonsa2 I don't see any code snippet. If we could see how you are using it it will be good. Also, remember that if you have a form within a form and they both have unsaved-warning-form, then it will cause a double pop-up.

coonsa2 commented 8 years ago

@Stargator I should have closed this a while ago. I believe this was the problem at the time, so anyone else experiencing the double popup should look at that first. Thanks!

sureshkoduri commented 7 years ago

Hi, I only one form but the popup coming twice. Please help me

Stargator commented 7 years ago

@sureshkoduri Can you post a link to a JSFiddle or working example of your code? So I can see what might be the problem.

PriyaS1501 commented 1 year ago

The alert dialog box appears again after clicking ok. Here's what I'm using on the login form tag, I'm not sure why it shows up twice.