You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2014/03/20 06:11:42 UTC
[jira] [Resolved] (CB-5391) XHR failing
[ https://issues.apache.org/jira/browse/CB-5391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse MacFadyen resolved CB-5391.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.5.0
Tested using this code:
{code}
$.ajax({
dataType: "json",
url: "www/languages.json",
success: function (data) {
console.log("success");
languageFile = data;
},
error: function (xhr, status, err) {
console.log("ERROR " + xhr.status);
}
});
{code}
and this json file contents :
{code}
{
"one": "Singular sensation",
"two": "Beady little eyes",
"three": "Little birds pitch by my doorstep"
}
{code}
and jQuery 1.4.2
> XHR failing
> -----------
>
> Key: CB-5391
> URL: https://issues.apache.org/jira/browse/CB-5391
> Project: Apache Cordova
> Issue Type: Bug
> Components: WP7, WP8
> Affects Versions: 3.1.0, 2.9.1
> Reporter: Jesse MacFadyen
> Assignee: Jesse MacFadyen
> Fix For: 2.5.0
>
>
> More details here:
> https://groups.google.com/forum/#!topic/phonegap/t3sz6xToBK8
--
This message was sent by Atlassian JIRA
(v6.2#6252)