Display alert upon no connectivity during ajax calls
Fri, 05/15/2009 - 15:50
I have developed a JavaScript modification to QCubed.
This JS is basically to avoid frozen browser whenever there is no network when triggering any ajaxaction. It will display an alert window (div) in the position described in post.js: 171. Perhaps the function is similar to gmail or facebook when you have network problem.
qcodo.alertDisplay(250,20,"Network Connection Error\r\n. Please try again later. If it does not work, try to refresh the page.\r\nClick Ok button to close this message.", true, false);How to use it:
Please rename it to .js and copy it to your assets/_core/js (QCubed 1.1).
The only drawback is that any AJAX error dump will not be displayed in some cases. It will display this alert instead.
Any comment is appreciated. Thanks.

Sounds very useful. Could you create a ticket for this as well, so that it's tracked as something we should add to core?
I have added as a new ticket #259. Thanks.