fix open error

This commit is contained in:
Antelle 2015-11-08 23:23:12 +03:00
parent 09979f9cf6
commit e7ecea75f4
1 changed files with 3 additions and 0 deletions

View File

@ -225,6 +225,9 @@ var OpenView = Backbone.View.extend({
openKeyFileFromDropbox: function() {
if (!this.file.get('opening')) {
DropboxLink.chooseFile((function(err, res) {
if (err) {
return;
}
this.keyFileData = res.data;
this.file.set('keyFileName', res.name);
this.displayOpenKeyFile();