mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-10 13:36:55 +08:00
Fix reencryption of history data
This commit is contained in:
parent
f406d61719
commit
3ccd26e75b
2 changed files with 4 additions and 2 deletions
|
@ -191,7 +191,9 @@ angular.module('passmanApp')
|
||||||
CredentialService.reencryptCredential(_credential.credential_id, old_key, new_key).progress(function(data){
|
CredentialService.reencryptCredential(_credential.credential_id, old_key, new_key).progress(function(data){
|
||||||
console.log(data);
|
console.log(data);
|
||||||
}).then(function(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));
|
}).bind(this));
|
||||||
|
|
||||||
if (!this.current + this.upload == this.total) {
|
if (this.current != (this.total / 2)) {
|
||||||
setTimeout(revision_workload.bind(this), 1);
|
setTimeout(revision_workload.bind(this), 1);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue