mirror of
https://github.com/nextcloud/passman.git
synced 2024-09-20 23:06:24 +08:00
Fix reencryption of history data
This commit is contained in:
parent
f406d61719
commit
3ccd26e75b
|
@ -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..')
|
||||
});
|
||||
})
|
||||
};
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue