tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject [2/2] git commit: TAP5-2125: Ajax form submissions via jQuery may pass t:formdata as "t:formdata[]" if there are multiple values
Date Tue, 04 Jun 2013 00:50:56 GMT
TAP5-2125: Ajax form submissions via jQuery may pass t:formdata as "t:formdata[]" if there
are multiple values


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/85284b2b
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/85284b2b
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/85284b2b

Branch: refs/heads/master
Commit: 85284b2b131e19929b407b352cf0264f30090efd
Parents: 99a1d81
Author: Howard M. Lewis Ship <hlship@apache.org>
Authored: Mon Jun 3 17:50:50 2013 -0700
Committer: Howard M. Lewis Ship <hlship@apache.org>
Committed: Mon Jun 3 17:50:50 2013 -0700

----------------------------------------------------------------------
 .../org/apache/tapestry5/t5-core-dom-jquery.coffee |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/85284b2b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
index 8c6506f..8e8e078 100644
--- a/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
+++ b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
@@ -402,6 +402,7 @@ define ["underscore", "./utils", "jquery"], (_, utils, $) ->
       url: url
       type: options.method?.toUpperCase() or "POST"
       contentType: options.contentType
+      traditional: true
       data: options.parameters
       # jQuery doesn't have the equivalent of Protoype's onException
       error: (jqXHR, textStatus, errorThrown) ->


Mime
View raw message