Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 340ED9121 for ; Wed, 8 Feb 2012 13:48:25 +0000 (UTC) Received: (qmail 60629 invoked by uid 500); 8 Feb 2012 13:48:25 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 60481 invoked by uid 500); 8 Feb 2012 13:48:24 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 60461 invoked by uid 99); 8 Feb 2012 13:48:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 13:48:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2012 13:48:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8D9941AAD81 for ; Wed, 8 Feb 2012 13:47:59 +0000 (UTC) Date: Wed, 8 Feb 2012 13:47:59 +0000 (UTC) From: "Alan Neveu (Commented) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <36951507.14760.1328708879581.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1277913408.10481.1327984090097.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-208) WP7 + JQuery call to $.ajax does not work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203586#comment-13203586 ] Alan Neveu commented on CB-208: ------------------------------- Confirming - this commit resolved this problem. Thanks again. > WP7 + JQuery call to $.ajax does not work > ----------------------------------------- > > Key: CB-208 > URL: https://issues.apache.org/jira/browse/CB-208 > Project: Apache Callback > Issue Type: Bug > Components: WP7 > Affects Versions: 1.4.0 > Environment: VS.NET 2010, Using the latest code for the 1.4.0 release candidate, plus a fairly simple custom $.ajax function. > Reporter: Alan Neveu > Assignee: Jesse MacFadyen > Fix For: 1.5.0 > > Attachments: json2.js > > > My own $.ajax function works great all by itself, but with phonegap-1.4.0.js present my $.ajax calls get hi-jacked and errors occur in that last function in phonegap-1.4.0.js. If I comment out that whole function, my $.ajax calls work just great. I need my custom $.ajax calls because they use some custom JSON code written by Rick Strahl that properly deals with Microsoft formatted dates going in and out of ASMX web services that use JSON for serialization. > It looks like the error is happening on the line that says: > return this.wrappedXHR.send(data); > Is there any way I can disable the hi-jacking of $.ajax calls without modifying phonegap-1.4.0.js? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira