napsys
28 Oct 2010, 7:02 AM
I am getting a 'Parse Error' on the JSON in returned reponse from the following code.
I ran the response result through JSON Lint - okay valid.
Using safari 5.0.2 on Win - iPad seems to fail similar. I never get to the .unmask()
Thanks for your help.
Ext.util.JSONP.request({
url: "http://odata.netflix.com/Catalog/Titles",
callbackKey: 'callback',
params: {
$filter:"Name eq 'The Name of The Rose'",
$format:'json',
$expand:"Synopsis"
},
failure: function(response, opts) {
console.log('Server error ' + response.status);
Ext.getBody().unmask();
},
callback: function(response) {
var video = response;
Ext.getBody().unmask();
}
});
I ran the response result through JSON Lint - okay valid.
Using safari 5.0.2 on Win - iPad seems to fail similar. I never get to the .unmask()
Thanks for your help.
Ext.util.JSONP.request({
url: "http://odata.netflix.com/Catalog/Titles",
callbackKey: 'callback',
params: {
$filter:"Name eq 'The Name of The Rose'",
$format:'json',
$expand:"Synopsis"
},
failure: function(response, opts) {
console.log('Server error ' + response.status);
Ext.getBody().unmask();
},
callback: function(response) {
var video = response;
Ext.getBody().unmask();
}
});