Permalink
Browse files

Use openWritableFile to maintain a writable link

  • Loading branch information...
1 parent 39547c0 commit baa18c0d42b6a2855c998acf9ac79c785353900e @joemarini joemarini committed Mar 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mini-code-edit/editor.js
View
@@ -130,7 +130,7 @@ function handleNewButton() {
}
function handleOpenButton() {
- chrome.fileSystem.chooseEntry({ type: 'openFile' }, onWritableFileToOpen);
+ chrome.fileSystem.chooseEntry({ type: 'openWritableFile' }, onWritableFileToOpen);
}
function handleSaveButton() {

0 comments on commit baa18c0

Please sign in to comment.