| 395 | .value, |
| 396 | xhr:XMLHttpRequest = new XMLHttpRequest(), |
| 397 | sendit = function dom_load_feedsubmit_sendit():void { |
| 398 | const node:HTMLElement = id("feedintro"); |
| 399 | xhr.withCredentials = true; |
| 400 | xhr.open("POST", "https://prettydiff.com:8000/feedback/", true); |
| 401 | xhr.setRequestHeader("Content-type", "application/json; charset=utf-8"); |
| 402 | xhr.send(JSON.stringify(datapack)); |
| 403 | report |
| 404 | .feed |
| 405 | .box |
| 406 | .getElementsByTagName("button")[1] |
| 407 | .click(); |
| 408 | if (node !== null) { |
| 409 | node.innerHTML = "Please feel free to submit feedback about Pretty Diff at any time by answering t" + |
| 410 | "he following questions."; |
| 411 | } |
| 412 | }; |
| 413 | if (id("feedradio1") === null || namecheck.knownname !== data.settings.knownname) { |
| 414 | return; |
| 415 | } |