diff options
author | brantje <brantje@gmail.com> | 2016-10-12 21:12:28 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2016-10-12 21:16:37 +0300 |
commit | 1a74def8dc02475ee0df2b9cd25d77ae7cb3007e (patch) | |
tree | 7d92b46d6a454d34c860ae27c586f3c78dbe18c8 /js/app/services/credentialservice.js | |
parent | b658e2a4ca16e7cbec4e49186911be871f555885 (diff) |
Remove unused code
Diffstat (limited to 'js/app/services/credentialservice.js')
-rw-r--r-- | js/app/services/credentialservice.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/app/services/credentialservice.js b/js/app/services/credentialservice.js index 517b5162..28e09c90 100644 --- a/js/app/services/credentialservice.js +++ b/js/app/services/credentialservice.js @@ -181,7 +181,7 @@ // Save data this.parent.new_credential_cryptogram.skip_revision = true; - service.updateCredential(this.parent.new_credential_cryptogram, true).then((function (data) { + service.updateCredential(this.parent.new_credential_cryptogram, true).then((function () { this.call_progress(new progress_datatype(2, 2, 'credential')); this.call_then({ plain_text: this.parent.plain_credential, @@ -208,7 +208,7 @@ this.call_progress(new progress_datatype(this.current, this.total, 'files')); - FileService.updateFile(fileData, this.parent.new_password).then((function (data) { + FileService.updateFile(fileData, this.parent.new_password).then((function () { this.current++; this.call_progress(new progress_datatype(this.current, this.total, 'files')); if (this.current === this.total) { @@ -246,7 +246,7 @@ this.call_progress(new progress_datatype(this.current + this.upload, this.total, 'revisions')); - service.updateRevision(_revision).then((function (data) { + service.updateRevision(_revision).then((function () { this.upload++; this.call_progress(new progress_datatype(this.upload + this.current, this.total, 'revisions')); if (this.current + this.upload === this.total) { @@ -298,7 +298,7 @@ master_promise.promises++; (new C_Promise(promise_revisions_update, new password_data())).progress(function (data) { master_promise.call_progress(data); - }).then(function (data) { + }).then(function () { console.warn("End revisions update"); master_promise.promises--; if (master_promise.promises === 0) { |