Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manager/actions/category_mgr/skin/js/categories.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ document.getElementById('elements-select').onchange = function(e) {
document.getElementById('categorize-formfields').innerHTML = '';
let xhr = new XMLHttpRequest();
xhr.open('POST', ajax_url, true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded;');
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onload = function() {
if (this.readyState === 4) {
categorizeWorkbench.classList.remove('ajax_loading');
Expand Down
2 changes: 1 addition & 1 deletion manager/media/style/common/login.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
form.submitButton.classList.add('scaleX');
var xhr = new XMLHttpRequest();
xhr.open('POST', 'processors/login.processor.php', true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded;');
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onload = function() {
if(this.readyState === 4) {
var header = this.response.slice(0, 9);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
function hideConfigCheckWarning(key) {
var xhr = new XMLHttpRequest();
xhr.open("POST", "index.php?a=118", true);
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;");
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhr.onload = function() {
if(this.readyState === 4) {
var fieldset = document.getElementById(key + "_warning_wrapper").parentNode.parentNode;
Expand Down
2 changes: 1 addition & 1 deletion manager/media/style/default/js/evo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2587,7 +2587,7 @@
} else {
var xhr = new XMLHttpRequest();
xhr.open(o.method, o.url, true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded;');
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.setRequestHeader('X-REQUESTED-WITH', 'XMLHttpRequest');
if (new URL(o.url, d.baseURI).origin === w.location.origin && evo.tabsCsrfToken()) {
xhr.setRequestHeader('X-CSRF-TOKEN', evo.tabsCsrfToken());
Expand Down
2 changes: 1 addition & 1 deletion manager/media/style/default/login.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@
document.getElementById('mainloader').classList.add('show');
var xhr = new XMLHttpRequest();
xhr.open('POST', '?a=0', true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded;');
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onload = function() {
if (this.readyState === 4) {
var header = this.response.slice(0, 9);
Expand Down