pull/1/head
yann300 7 years ago
parent 21ee8aa200
commit 4fdb12d781
  1. 2
      src/app/panels/file-panel.js

@ -169,7 +169,7 @@ function filepanel (appAPI, filesProvider) {
} }
var success = files.set(name, event.target.result) var success = files.set(name, event.target.result)
if (!success) modalDialogCustom.alert('Failed to create file ' + name) if (!success) modalDialogCustom.alert('Failed to create file ' + name)
else self.events.trigger('focus', [name]) else self.event.trigger('focus', [name])
} }
fileReader.readAsText(file) fileReader.readAsText(file)
} }

Loading…
Cancel
Save