File tree Expand file tree Collapse file tree
actions/category_mgr/skin/js Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ document.getElementById('elements-select').onchange = function(e) {
1111 document . getElementById ( 'categorize-formfields' ) . innerHTML = '' ;
1212 let xhr = new XMLHttpRequest ( ) ;
1313 xhr . open ( 'POST' , ajax_url , true ) ;
14- xhr . setRequestHeader ( 'Content-Type' , 'application/x-www-form-urlencoded; ' ) ;
14+ xhr . setRequestHeader ( 'Content-Type' , 'application/x-www-form-urlencoded' ) ;
1515 xhr . onload = function ( ) {
1616 if ( this . readyState === 4 ) {
1717 categorizeWorkbench . classList . remove ( 'ajax_loading' ) ;
Original file line number Diff line number Diff line change 100100 form.submitButton.classList.add ('scaleX');
101101 var xhr = new XMLHttpRequest();
102102 xhr.open ('POST', 'processors/login.processor.php ', true);
103- xhr.setRequestHeader ('Content-Type', 'application/x-www-form-urlencoded; ');
103+ xhr.setRequestHeader ('Content-Type', 'application/x-www-form-urlencoded');
104104 xhr.onload = function() {
105105 if (this.readyState === 4) {
106106 var header = this.response.slice (0, 9);
Original file line number Diff line number Diff line change 22 function hideConfigCheckWarning(key) {
33 var xhr = new XMLHttpRequest();
44 xhr.open (" POST" , " index.php?a=118" , true);
5- xhr.setRequestHeader (" Content-Type" , " application/x-www-form-urlencoded; " );
5+ xhr.setRequestHeader (" Content-Type" , " application/x-www-form-urlencoded" );
66 xhr.onload = function() {
77 if (this.readyState === 4) {
88 var fieldset = document.getElementById (key + " _warning_wrapper" ).parentNode.parentNode ;
Original file line number Diff line number Diff line change 25872587 } else {
25882588 var xhr = new XMLHttpRequest ( ) ;
25892589 xhr . open ( o . method , o . url , true ) ;
2590- xhr . setRequestHeader ( 'Content-Type' , 'application/x-www-form-urlencoded; ' ) ;
2590+ xhr . setRequestHeader ( 'Content-Type' , 'application/x-www-form-urlencoded' ) ;
25912591 xhr . setRequestHeader ( 'X-REQUESTED-WITH' , 'XMLHttpRequest' ) ;
25922592 if ( new URL ( o . url , d . baseURI ) . origin === w . location . origin && evo . tabsCsrfToken ( ) ) {
25932593 xhr . setRequestHeader ( 'X-CSRF-TOKEN' , evo . tabsCsrfToken ( ) ) ;
Original file line number Diff line number Diff line change 576576 document.getElementById(' mainloader' ).classList.add(' show' );
577577 var xhr = new XMLHttpRequest();
578578 xhr.open(' POST' , ' ?a=0' , true );
579- xhr.setRequestHeader(' Content-Type' , ' application/x-www-form-urlencoded; ' );
579+ xhr.setRequestHeader(' Content-Type' , ' application/x-www-form-urlencoded' );
580580 xhr.onload = function() {
581581 if (this.readyState === 4) {
582582 var header = this.response.slice(0, 9);
You can’t perform that action at this time.
0 commit comments