Fixed async error
This commit is contained in:
parent
576b834d25
commit
6731eb7da4
|
@ -78,6 +78,7 @@ if (is_ajax ()) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$result = db_run_sql_file($file);
|
$result = db_run_sql_file($file);
|
||||||
|
|
||||||
if ($result) {
|
if ($result) {
|
||||||
$update_config = update_config_token("MR", $number);
|
$update_config = update_config_token("MR", $number);
|
||||||
if ($update_config) {
|
if ($update_config) {
|
||||||
|
@ -176,6 +177,7 @@ if (is_ajax ()) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1543,7 +1543,6 @@ function remove_rr_file (number) {
|
||||||
|
|
||||||
jQuery.ajax ({
|
jQuery.ajax ({
|
||||||
data: params,
|
data: params,
|
||||||
async: false,
|
|
||||||
dataType: "html",
|
dataType: "html",
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: "ajax.php",
|
url: "ajax.php",
|
||||||
|
@ -1559,7 +1558,6 @@ function remove_rr_file_to_extras () {
|
||||||
|
|
||||||
jQuery.ajax ({
|
jQuery.ajax ({
|
||||||
data: params,
|
data: params,
|
||||||
async: false,
|
|
||||||
dataType: "html",
|
dataType: "html",
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: "ajax.php",
|
url: "ajax.php",
|
||||||
|
|
Loading…
Reference in New Issue