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 E571A74FE for ; Sat, 17 Dec 2011 23:44:01 +0000 (UTC) Received: (qmail 47224 invoked by uid 500); 17 Dec 2011 23:44:01 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 47189 invoked by uid 500); 17 Dec 2011 23:44:01 -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 47179 invoked by uid 99); 17 Dec 2011 23:44:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Dec 2011 23:44:01 +0000 X-ASF-Spam-Status: No, hits=-2001.5 required=5.0 tests=ALL_TRUSTED,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; Sat, 17 Dec 2011 23:43:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8C61D118102 for ; Sat, 17 Dec 2011 23:43:30 +0000 (UTC) Date: Sat, 17 Dec 2011 23:43:30 +0000 (UTC) From: "Binh An Tran (Updated) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <2053341784.23171.1324165410576.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1415262275.22551.1324130550571.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CB-130) wrappedXHR breaks jquery.ajax request to rest server 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-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Binh An Tran updated CB-130: ---------------------------- Description: I use the fix in latest phonegap fpr wp7 commit to fix the problem with ajax navigation between pages for jquery mobile. But the fix breaks my ajax request using jquery ($.ajax). The request is made but either succeed or failed callback funtion is called. There is a sample project in the attachment. When i comment out the wrappedXHR part in phonegap.js, the ajax call to rest server works fine, but the ajax transition between pages doesn't work. When i leave the wrappedXHR part in phonegap.js, ajax call doesn't works, page transition works. was:I use the fix in latest phonegap fpr wp7 commit to fix the problem with ajax navigation between pages for jquery mobile. But the fix breaks my ajax request using jquery ($.ajax). The request is made but either succeed or failed callback funtion is called. > wrappedXHR breaks jquery.ajax request to rest server > ---------------------------------------------------- > > Key: CB-130 > URL: https://issues.apache.org/jira/browse/CB-130 > Project: Apache Callback > Issue Type: Bug > Components: WP7 > Affects Versions: 1.2.0 > Environment: WP7.1 SDK > Simulator > Latest commit in github > Reporter: Binh An Tran > Assignee: Jesse MacFadyen > Labels: ajax > > I use the fix in latest phonegap fpr wp7 commit to fix the problem with ajax navigation between pages for jquery mobile. But the fix breaks my ajax request using jquery ($.ajax). The request is made but either succeed or failed callback funtion is called. > There is a sample project in the attachment. When i comment out the wrappedXHR part in phonegap.js, the ajax call to rest server works fine, but the ajax transition between pages doesn't work. When i leave the wrappedXHR part in phonegap.js, ajax call doesn't works, page transition works. -- 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