Fixed async error

This commit is contained in:
Arturo Gonzalez 2017-03-21 15:13:04 +01:00
parent 576b834d25
commit 6731eb7da4
2 changed files with 2 additions and 2 deletions

View File

@ -78,6 +78,7 @@ if (is_ajax ()) {
}
else {
$result = db_run_sql_file($file);
if ($result) {
$update_config = update_config_token("MR", $number);
if ($update_config) {
@ -176,6 +177,7 @@ if (is_ajax ()) {
}
}
}
return;
}
}

View File

@ -1543,7 +1543,6 @@ function remove_rr_file (number) {
jQuery.ajax ({
data: params,
async: false,
dataType: "html",
type: "POST",
url: "ajax.php",
@ -1559,7 +1558,6 @@ function remove_rr_file_to_extras () {
jQuery.ajax ({
data: params,
async: false,
dataType: "html",
type: "POST",
url: "ajax.php",