cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lingerer huang" <lingererhu...@hotmail.com>
Subject Re: Very early 2.1.12-dojo1_1-dev committed
Date Sun, 09 Nov 2008 07:04:45 GMT

Hi,Jemery

The Select.diff you can just ignore,cause I make this diff without update
svn.

The encoding problem I just make the change as I suggested last few mail.

### Eclipse Workspace Patch 1.0
#P dojo1_1
Index:
src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/AjaxForm.js
===================================================================
---
src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/AjaxForm.js
(revision 712104)
+++
src/blocks/forms/resources/org/apache/cocoon/forms/resources/js/AjaxForm.js
(working copy)
@@ -68,7 +68,7 @@
             dojo.io.iframe.send(xhrArgs);                       /* send the
AJAX Request via iframe IO */
             // TODO: weird bug with Safari, does not send 'cocoon-ajax' or
'dojo.transport' the second time the form is posted
         } else {
-            xhrArgs.contentType = "application/x-www-form-urlencoded;
charset=UTF-8";
+            xhrArgs.contentType = "application/x-www-form-urlencoded;";
             dojo.xhrPost(xhrArgs);                              /* send the
AJAX Request via xhr IO */
         }
         // Toggle the click target off, so it does not get resubmitted if
another submit is fired before this has finished

My setting provided last few mail just did the same effect as you did.So I
think we should change the contentType to use the old way.

regards

Roy Huang


Mime
View raw message