1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-06 06:25:04 +02: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:
Callum Macrae 2011-08-19 17:39:35 +01:00 committed by Igor Wiedler
parent dce38f44de
commit 83095c2a2d

View File

@ -33,15 +33,16 @@ phpbb.loading_alert = function() {
else
{
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.');
}
}, 3000);
}, 5000);
});
}
return loading_alert;
}