Et hop, dernier commit
This commit is contained in:
parent
eb9381f89c
commit
d23d91ae2f
@ -15,7 +15,6 @@ function callRequest(action, section, message) {
|
|||||||
label.classList.add('label-warning');
|
label.classList.add('label-warning');
|
||||||
label.innerHTML = 'Loading';
|
label.innerHTML = 'Loading';
|
||||||
|
|
||||||
message = typeof(message) !== 'undefined' ? message : 'FTP';
|
|
||||||
var xhr = new XMLHttpRequest();
|
var xhr = new XMLHttpRequest();
|
||||||
xhr.open('POST', 'ajax.php');
|
xhr.open('POST', 'ajax.php');
|
||||||
xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
|
xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
|
||||||
|
Loading…
Reference in New Issue
Block a user