[Jifty-commit] r7394 - jifty/trunk/share/web/static/js
Jifty commits
jifty-commit at lists.jifty.org
Thu Aug 13 21:39:06 EDT 2009
Author: sartak
Date: Thu Aug 13 21:39:03 2009
New Revision: 7394
Modified:
jifty/trunk/share/web/static/js/jifty.js
Log:
Don't alert the user about preload fails
Modified: jifty/trunk/share/web/static/js/jifty.js
==============================================================================
--- jifty/trunk/share/web/static/js/jifty.js (original)
+++ jifty/trunk/share/web/static/js/jifty.js Thu Aug 13 21:39:03 2009
@@ -1437,7 +1437,11 @@
}
// Cry like a baby
- alert("Unable to connect to server.\n\nTry again in a few minutes.");
+ // Don't irritate the user about preload failures, maybe it'll work
+ // if they actually do click through to the region
+ if (!named_args['preload']) {
+ alert("Unable to connect to server.\n\nTry again in a few minutes.");
+ }
// Record the failed request (XXX for debugging?)
Jifty.failedRequest = transport;
More information about the Jifty-commit
mailing list