diff options
author | Patrick Simianer <p@simianer.de> | 2015-07-22 17:31:08 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-07-22 17:31:08 +0200 |
commit | 4bd8892ce05f544faceaa8e99cf84e04e032eef6 (patch) | |
tree | 8f51775a33536159c9ef2b4de3f4b0ee92bbde9a | |
parent | be77327d1a05caf759d54ca4b13cfc05b8539f5b (diff) |
confirm fix
-rw-r--r-- | lfpe.js | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -200,6 +200,12 @@ function Next() // show 'working' message status.style.display = "block"; + // confirm to server + if (document.getElementById("init").value != "") { + var xhr_confirm = CreateCORSRequest('get', base_url+"/confirm"); + xhr_confirm.send(); // FIXME: handle errors + } + // build request var xhr = CreateCORSRequest('get', next_url); if (!xhr) { @@ -293,8 +299,8 @@ function Next() last_post_edit.value = translation; // confirm to server - var xhr_confirm = CreateCORSRequest('get', base_url+"/confirm"); - xhr_confirm.send(); // FIXME: handle errors + //var xhr_confirm = CreateCORSRequest('get', base_url+"/confirm"); + //xhr_confirm.send(); // FIXME: handle errors Timer.start(); } |