mirror of https://github.com/keeweb/keeweb.git
fix lock during sync
This commit is contained in:
parent
340ae933bf
commit
b19dd8d594
|
@ -335,6 +335,9 @@ var FileModel = Backbone.Model.extend({
|
|||
syncing: false,
|
||||
syncError: error
|
||||
});
|
||||
if (!this.get('open')) {
|
||||
return;
|
||||
}
|
||||
this.setOpenFile({ passwordLength: this.get('passwordLength') });
|
||||
this.forEachEntry({}, function(entry) {
|
||||
entry.unsaved = false;
|
||||
|
|
Loading…
Reference in New Issue