[Jifty-commit] r7383 - jifty/trunk/share/web/static/js
Jifty commits
jifty-commit at lists.jifty.org
Thu Aug 13 21:37:08 EDT 2009
Author: sartak
Date: Thu Aug 13 21:37:08 2009
New Revision: 7383
Modified:
jifty/trunk/share/web/static/js/jifty.js
Log:
Show the wait message between preload and ajax call
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:37:08 2009
@@ -1296,12 +1296,6 @@
return false;
}
- // Show the "Loading..." message (or equivalent)
- var hide_wait = named_args['hide_wait_message'];
- if (!hide_wait) {
- show_wait_message();
- }
-
// And when we get the result back, we'll want to deal with it
//
// NOTE: Success here doesn't mean the server liked the request, but that
@@ -1486,6 +1480,12 @@
return;
}
+ // Show the "Loading..." message (or equivalent)
+ var hide_wait = named_args['hide_wait_message'];
+ if (!hide_wait) {
+ show_wait_message();
+ }
+
// Submit ajax request as JSON; expect XML in return
jQuery.ajax({
url: document.URL,
More information about the Jifty-commit
mailing list