mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/10270] Lengthened the timeout on the AJAX request error.
It was at 3 seconds before, now it is at 5 seconds from when the popup has faded in. PHPBB3-10270
This commit is contained in:
parent
dce38f44de
commit
83095c2a2d
1 changed files with 9 additions and 8 deletions
|
@ -33,15 +33,16 @@ phpbb.loading_alert = function() {
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
loading_alert.show();
|
loading_alert.show();
|
||||||
dark.fadeIn();
|
dark.fadeIn(function() {
|
||||||
|
setTimeout(function() {
|
||||||
|
if (loading_alert.is(':visible'))
|
||||||
|
{
|
||||||
|
phpbb.alert('Error', 'Error processing your request. Please try again.');
|
||||||
|
}
|
||||||
|
}, 5000);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
setTimeout(function() {
|
|
||||||
if (loading_alert.is(':visible'))
|
|
||||||
{
|
|
||||||
phpbb.alert('Error', 'Error processing your request. Please try again.');
|
|
||||||
}
|
|
||||||
}, 3000);
|
|
||||||
return loading_alert;
|
return loading_alert;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue