Skip to content

Commit 6638188

Browse files
Removed other console statements
1 parent c78b8d4 commit 6638188

File tree

1 file changed

+0
-2
lines changed
  • src/frontend/components/form-group/autosave/lib

1 file changed

+0
-2
lines changed

src/frontend/components/form-group/autosave/lib/modal.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ class AutosaveModal extends AutosaveBase {
7070
$field.on("validationPassed", () => {
7171
// Decrement the curval count
7272
curvalCount--;
73-
console.log("curvalCount", curvalCount);
7473
const $li = $(`<li class="li-success">Restored ${name}</li>`);
7574
$list.append($li);
7675
// If we've done all fields, turn off the recovery flag
@@ -104,7 +103,6 @@ class AutosaveModal extends AutosaveBase {
104103
$body.append(`<div class="alert alert-danger"><h4>Critical error restoring values</h4><p>${e}</p></div>`);
105104
}).finally(() => {
106105
// Only allow to close once recovery is finished
107-
console.log("curvalCount", curvalCount);
108106
if(!curvalCount || errored) {
109107
// Show the close button
110108
$modal.find(".modal-footer").find(".btn-cancel").text("Close").show();

0 commit comments

Comments
 (0)