From e414c0256e2abef261f0c71d4f1346d8a520fac6 Mon Sep 17 00:00:00 2001 From: Marcos Zuriaga Date: Thu, 6 Oct 2016 21:34:29 +0200 Subject: [PATCH] Fix empty return value on the promise response --- js/app/services/credentialservice.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/app/services/credentialservice.js b/js/app/services/credentialservice.js index 4a7c3db0..5225cbb7 100644 --- a/js/app/services/credentialservice.js +++ b/js/app/services/credentialservice.js @@ -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);