fix open local files

This commit is contained in:
Antelle 2015-11-09 21:22:26 +03:00
parent 0ad3aabe60
commit 7f05634f68
1 changed files with 2 additions and 0 deletions

View File

@ -392,6 +392,8 @@ var OpenView = Backbone.View.extend({
switch (lastOpenFile.storage) {
case 'dropbox':
return this.openDropboxFile(lastOpenFile.path);
case 'file':
return this.showOpenLocalFile(lastOpenFile.path);
default:
return this.openCache(name);
}