Opened 14 years ago
Closed 14 years ago
#3322 closed defect (fixed)
dojo.rpc.JsonService syntax error on IE
Reported by: | guest | Owned by: | Dustin Machi |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | RPC | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
dojo.rpc.JsonService? has a syntax error when evaluated on IE6.0
Cause is an trailing comma (http://dojotoolkit.org/support/faq/why-does-ie-say-i-have-syntax-error).
-- Kind regards, Eric Meyer
Patch:
-- Index: C:/opt/eclipse-rc/eclipse/workspace/dojo_09/dojo/rpc/JsonService.js =================================================================== --- C:/opt/eclipse-rc/eclipse/workspace/dojo_09/dojo/rpc/JsonService.js (revision 8926) +++ C:/opt/eclipse-rc/eclipse/workspace/dojo_09/dojo/rpc/JsonService.js (working copy) @@ -30,7 +30,7 @@ postData: this.createRequest(method, parameters), contentType: this.contentType, timeout: this.timeout, - handleAs: "json", + handleAs: "json" }); def.addCallbacks(this.resultCallback(deferredRequestHandler), this.errorCallback(deferredRequestHandler)); },
Attachments (1)
Change History (2)
Changed 14 years ago by
Attachment: | JsonService.patch.txt added |
---|
comment:1 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
patch