mirror of https://github.com/keeweb/keeweb.git
fix open error
This commit is contained in:
parent
09979f9cf6
commit
e7ecea75f4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue