Fixed async error
This commit is contained in:
parent
576b834d25
commit
6731eb7da4
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue