Fix empty return value on the promise response

This commit is contained in:
Marcos Zuriaga 2016-10-06 21:34:29 +02:00
parent e0ce28b720
commit e414c0256e
No known key found for this signature in database
GPG key ID: 7D15585354D072FF

View file

@ -239,7 +239,6 @@ angular.module('passmanApp')
//Decrypt!
_revision.credential_data = service.decryptCredential(_revision.credential_data, this.parent.old_password);
_revision.credential_data = service.encryptCredential(_revision.credential_data, this.parent.new_password);
console.log('Used key for encrypting history ', this.new_password);
this.current ++;
this.call_progress(new progress_datatype(this.current + this.upload, this.total));
@ -281,7 +280,7 @@ angular.module('passmanApp')
master_promise.plain_credential = data.plain_text;
master_promise.promises ++;
this.credential_data = data;
master_promise.credential_data = data;
(new C_Promise(promise_files_update, new password_data())).progress(function(data){
master_promise.call_progress(data);