[BACK]Return to form.min.js CVS log [TXT][DIR] Up to [local] / draft

Diff for /draft/form.min.js between version 1.37 and 1.43

version 1.37, 2024/03/28 20:14:58 version 1.43, 2024/03/29 18:42:52
Line 45  async function sendData() {
Line 45  async function sendData() {
                                         ii.textContent="Sent";                                          ii.textContent="Sent";
                                         console.log(`Challenge Success ${token}`);                                          console.log(`Challenge Success ${token}`);
 /* --------------------- */  /* --------------------- */
   //const ob = {mail: em, sub: su, msg: ms, id: token };
 //var data="",  //var data="",
 //      status="";  //      status="",
 //$.post("/feedbk/", token, function(data, status){  //      feed=JSON.stringify(ob);
   //$.post("/feedbk/", feed, function(data, status){
 //    console.log("Data: " + data + "\nStatus: " + status);  //    console.log("Data: " + data + "\nStatus: " + status);
 //});  //});
 /* --------------------- */  /* --------------------- */
 var re="";  //var re="";
 re=fetch('/feedbk/', {  re=fetch('/feedbk/', {
     method: 'POST',      method: 'POST',
     headers: {      headers: {
Line 60  re=fetch('/feedbk/', {
Line 62  re=fetch('/feedbk/', {
     },      },
     body: JSON.stringify({ "cfem": "a@b.ru", "cfsu" : "subject", "cfme" : "message", "cfto" : "token" })      body: JSON.stringify({ "cfem": "a@b.ru", "cfsu" : "subject", "cfme" : "message", "cfto" : "token" })
 });  });
  //  .then(response => response.json())    .then(response => response.json())
  //  .then(response => console.log(JSON.stringify(response)))    .then(response => console.log(JSON.stringify(response)))
         console.log(re);  //      console.log(re);
   
   
                                 },                                  },

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.43

https://cvs.kroczynski.net