Revision: 8133
Author: j...@google.com
Date: Thu May 13 11:08:02 2010
Log: Fixes RPC on iPhone and IE6/7.
Review by: amitman...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=8133
Modified:
/branches/2.1/bikeshed/src/com/google/gwt/requestfactory/client/impl/ClientRequestHelper.java
=======================================
---
/branches/2.1/bikeshed/src/com/google/gwt/requestfactory/client/impl/ClientRequestHelper.java
Tue May 4 05:10:51 2010
+++
/branches/2.1/bikeshed/src/com/google/gwt/requestfactory/client/impl/ClientRequestHelper.java
Thu May 13 11:08:02 2010
@@ -35,7 +35,10 @@
}
private native void put(String key, String value)/*-{
- this[key] = value;
+ // TODO(jgw): Find a better way to do this. Occasionally a js-wrapped
+ // string ends up in 'value', which breaks the json2.js
implementation
+ // of JSON.stringify().
+ this[key] = String(value);
}-*/;
private native String toJsonString()/*-{
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors