You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by an...@apache.org on 2007/04/07 04:51:08 UTC
svn commit: r526351 - in
/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry: form.js fx.js
Author: andyhot
Date: Fri Apr 6 19:51:07 2007
New Revision: 526351
URL: http://svn.apache.org/viewvc?view=rev&rev=526351
Log:
Also track XHR form submits.
Modified:
tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/form.js
tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/fx.js
Modified: tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/form.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/form.js?view=diff&rev=526351&r1=526350&r2=526351
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/form.js (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/form.js Fri Apr 6 19:51:07 2007
@@ -416,8 +416,8 @@
kwArgs.mimetype="text/xml";
kwArgs.load=(function(){tapestry.load.apply(this, arguments);});
}
-
- dojo.io.queueBind(kwArgs);
+ tapestry.requestsInFlight++;
+ dojo.io.queueBind(kwArgs);
}
}
Modified: tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/fx.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/fx.js?view=diff&rev=526351&r1=526350&r2=526351
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/fx.js (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/fx.js Fri Apr 6 19:51:07 2007
@@ -105,10 +105,10 @@
dojo.log.warn("Argument to tapestry.fx.attachAjaxStatus should be either a string or a function");
return;
}
- dojo.event.connectOnce(tapestry, "bind", tapestry.fx._processAjaxStatus);
+ dojo.event.connectOnce(dojo.io, "queueBind", tapestry.fx._processAjaxStatus);
dojo.event.connectOnce(tapestry, "error", tapestry.fx._processAjaxStatus);
dojo.event.connectOnce(tapestry, "load", tapestry.fx._processAjaxStatus);
- dojo.event.connectOnce(tapestry, "loadJson", tapestry.fx._processAjaxStatus);
+ dojo.event.connectOnce(tapestry, "loadJson", tapestry.fx._processAjaxStatus);
},
_processAjaxStatus:function(){