Fix reencryption of history data

This commit is contained in:
Marcos Zuriaga 2016-10-07 00:54:57 +02:00
parent f406d61719
commit 3ccd26e75b
No known key found for this signature in database
GPG key ID: 7D15585354D072FF
2 changed files with 4 additions and 2 deletions

View file

@ -191,7 +191,9 @@ angular.module('passmanApp')
CredentialService.reencryptCredential(_credential.credential_id, old_key, new_key).progress(function(data){
console.log(data);
}).then(function(data){
console.error('This is still not called..')
console.warn(data);
//@TODO Implement action on reencryption finished
console.error('This is still NOW called..')
});
})
};

View file

@ -251,7 +251,7 @@ angular.module('passmanApp')
}
}).bind(this));
if (!this.current + this.upload == this.total) {
if (this.current != (this.total / 2)) {
setTimeout(revision_workload.bind(this), 1);
}
};