check params on xml import

This commit is contained in:
antelle 2017-09-29 20:37:38 +02:00
parent 49b999693c
commit c3c60fd613
1 changed files with 3 additions and 1 deletions

View File

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