-
11 May 2009 3:08 PM #1
Ajax.request and Jayrock
Ajax.request and Jayrock
I am having an interesting problem where code that is running under 2.0, fails in 3.0:
The code is:
alert("before conn");
call.yuiconn = Ext.Ajax.request({
url: call.url,
params: { "JSON-RPC": Ext.util.JSON.encode(call.request) },
success: function(response, options) { call.callback(response.responseText.parseJSON()); },
failure: function(response, options) { call.callback(null); }
});
alert("after conn");
[[ALERTS ARE JUST FOR DISCUSSION]]
The first alert displays, the second does not. Any ideas?
-
11 May 2009 4:44 PM #2
Follow up...
Follow up...
I have tracked the problem to Ext.lib.Ajax.request when it calls Ext.lib.Ajax.asyncRequest in the last line. Past this point, I get lost.
-
11 May 2009 9:05 PM #3
Do you have break on all errors turned on in firebug? Do you get a stacktrace?
Aaron Conran
@aconran
Sencha Architect Development Team


Reply With Quote