Prompt opening up a URL when cancled in javascript
MikeJMS8910

So in my project(https://repl.it/@JMSScienceFair/ProjectRemade#index.html) when you press the open save button a prompt comes up that asks for the name of the save file. Opening the save works but for some reason when you press cancel it opens up a random URL so can anyone help me. Also if you go on the second page and press cancel on the create save prompt it just says that the name is already taken which I made it for if the key for the name was already taken.

You are viewing a single comment. View All
SixBeeps

I was unable to replicate the random URL issue, pressing cancel just makes it say "That name is invalid!" and nothing else.

As for the name already taken part, I'm not sure where the "second page" is located. Do you perchance have a link to it?

MikeJMS8910

@SixBeeps the second page comes up after you press calculate