You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2010/03/18 20:49:59 UTC
svn commit: r924967 -
/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
Author: hlship
Date: Thu Mar 18 19:49:58 2010
New Revision: 924967
URL: http://svn.apache.org/viewvc?rev=924967&view=rev
Log:
TAP5-1061: When a Zone component sends an Ajax request for a client-side update, it should pass an extra query parameter identifying the zone's client-side id
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js?rev=924967&r1=924966&r2=924967&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js Thu Mar 18 19:49:58 2010
@@ -850,6 +850,7 @@ Tapestry.Initializer = {
};
element.sendAjaxRequest(url, {
+ parameters: { "t:zoneid": zoneId },
onSuccess : successHandler
});
});
@@ -984,7 +985,7 @@ Tapestry.Initializer = {
$(clientId).observeAction("click", function(event) {
$(this.form).skipValidation();
$(this.form).setSubmittingElement(clientId);
- $(this.form).performSubmit();
+ $(this.form).performSubmit(event);
});
}
};