Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
async problem solved by using alert for user to read while async comp…
Browse files Browse the repository at this point in the history
…letes in background
  • Loading branch information
SomajitDey committed Sep 26, 2024
1 parent 073f965 commit e0c0c86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ async function config() {
spaHide("login");
spaGoTo("server");
localStorage.setItem("loggedIn", "true");
startWorker();
}

function startWorker() {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h3>Powered by</h3>
<div class="spa-page" id="setup">
<section>
<h3>Setup</h3>
<form id="config" onsubmit="config(); startWorker(); return false;" target="hidden_iframe">
<form id="config" onsubmit="config();alert('By signing in you agree to the Terms');return false;" target="hidden_iframe">
<p>Setup in just 3 easy steps.</p>

<p>1. Generate or enter your EasyForm Access Key:</p>
Expand Down

0 comments on commit e0c0c86

Please sign in to comment.