mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed async error
This commit is contained in:
parent
576b834d25
commit
6731eb7da4
pandora_console/include
@ -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…
x
Reference in New Issue
Block a user