Skip to content

Commit

Permalink
Added values to all call sites of ajaxReq.send()
Browse files Browse the repository at this point in the history
  • Loading branch information
JahleelAbraham committed Mar 14, 2024
1 parent b98960b commit 8e5fcb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/template/dist/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ var ajaxReq = function () {
var class_after_success = null;


var send = function (redirectOnFail = true) {
var send = function (redirectOnFail) {
if (form !== null) form_data = new FormData(form[0]);

if (alert_bl !== null) {
Expand Down Expand Up @@ -444,7 +444,7 @@ var ajaxReq = function () {
else error_ajax = 1;

//form.submit();
send();
send(true);
}

return false;
Expand Down Expand Up @@ -478,7 +478,7 @@ var ajaxReq = function () {
ajax_content = true;
mch_ajsend(send_but);

send();
send(true);

// close left menu for mobile devices
var navbar = $('#navbar-collapse');
Expand Down

0 comments on commit 8e5fcb6

Please sign in to comment.