Skip to content

Conversation

monteslu
Copy link
Collaborator

What's this PR do?

adds a confirmation overlay when attempting to overwrite an existing file

Where should the reviewer start?

the logic change starts in the handlers.js

How should this be manually tested?

pull down, build, load, then create a new file. Attempt to save it with the name of an existing file.
Also, save a new file with a name that doesn't exist yet and dialog should not appear.

What are the relevant tickets?

fixes #168


overwrite(){
const {
filename,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

filename isn't used in this method

@monteslu
Copy link
Collaborator Author

updated

phated added a commit that referenced this pull request Sep 14, 2015
@phated phated merged commit cfe7537 into master Sep 14, 2015
@phated phated deleted the overwriteOverlay branch September 14, 2015 18:59
@phated phated removed their assignment Jan 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Save As - Overwrite Protection (Prompt)
2 participants