Apache Cordova
  1. Apache Cordova
  2. CB-208

WP7 + JQuery call to $.ajax does not work

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.5.0
    • Component/s: WP7 (defunct)
    • Labels:
      None
    • Environment:

      VS.NET 2010, Using the latest code for the 1.4.0 release candidate, plus a fairly simple custom $.ajax function.

      Description

      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?

      1. json2.js
        13 kB
        Alan Neveu

        Activity

          People

          • Assignee:
            Jesse MacFadyen
            Reporter:
            Alan Neveu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development