[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 else
{ {
loading_alert.show(); loading_alert.show();
dark.fadeIn(); dark.fadeIn(function() {
}
setTimeout(function() { setTimeout(function() {
if (loading_alert.is(':visible')) if (loading_alert.is(':visible'))
{ {
phpbb.alert('Error', 'Error processing your request. Please try again.'); phpbb.alert('Error', 'Error processing your request. Please try again.');
} }
}, 3000); }, 5000);
});
}
return loading_alert; return loading_alert;
} }