mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/11138] Increase AJAX timeout period to 15 seconds.
PHPBB3-11138
This commit is contained in:
parent
2adf3d7a34
commit
7ab90c6c82
1 changed files with 2 additions and 2 deletions
|
@ -27,12 +27,12 @@ phpbb.loadingAlert = function() {
|
||||||
} else {
|
} else {
|
||||||
loadingAlert.show();
|
loadingAlert.show();
|
||||||
dark.fadeIn(phpbb.alertTime, function() {
|
dark.fadeIn(phpbb.alertTime, function() {
|
||||||
// Wait five seconds and display an error if nothing has been returned by then.
|
// Wait fifteen seconds and display an error if nothing has been returned by then.
|
||||||
phpbbAlertTimer = setTimeout(function() {
|
phpbbAlertTimer = setTimeout(function() {
|
||||||
if (loadingAlert.is(':visible')) {
|
if (loadingAlert.is(':visible')) {
|
||||||
phpbb.alert($('#phpbb_alert').attr('data-l-err'), $('#phpbb_alert').attr('data-l-timeout-processing-req'));
|
phpbb.alert($('#phpbb_alert').attr('data-l-err'), $('#phpbb_alert').attr('data-l-timeout-processing-req'));
|
||||||
}
|
}
|
||||||
}, 5000);
|
}, 15000);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue