Storing the backup flag

This commit is contained in:
Matias Pando 2014-11-26 12:08:26 -03:00
commit 52fb680658
6 changed files with 34 additions and 98 deletions

View file

@ -38,6 +38,7 @@ BackupService.prototype.profileEncrypted = function(iden) {
BackupService.prototype.profileDownload = function(iden) {
var ew = this.profileEncrypted(iden);
iden.setBackupDone();
var name = iden.fullName;
var filename = name + '-profile.json';
this._download(ew, name, filename)