[ticket/11138] Increase AJAX timeout period to 15 seconds.

PHPBB3-11138
This commit is contained in:
Cesar G 2013-10-23 22:32:37 -07:00
parent 2adf3d7a34
commit 7ab90c6c82

View file

@ -27,12 +27,12 @@ phpbb.loadingAlert = function() {
} else {
loadingAlert.show();
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() {
if (loadingAlert.is(':visible')) {
phpbb.alert($('#phpbb_alert').attr('data-l-err'), $('#phpbb_alert').attr('data-l-timeout-processing-req'));
}
}, 5000);
}, 15000);
});
}