1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-22 07:16:38 +02:00

check params on xml import

This commit is contained in:
antelle 2017-09-29 20:37:38 +02:00
parent 49b999693c
commit c3c60fd613

View File

@ -641,7 +641,9 @@ const AppModel = Backbone.Model.extend({
if (data && backup && backup.enabled && backup.pending) { if (data && backup && backup.enabled && backup.pending) {
this.scheduleBackupFile(file, data); this.scheduleBackupFile(file, data);
} }
this.saveFileFingerprint(file, params.password); if (params) {
this.saveFileFingerprint(file, params.password);
}
}, },
fileClosed: function(file) { fileClosed: function(file) {