-
9 May 2012 10:41 AM #1
Ext.direct on broken response
Ext.direct on broken response
If the connection is broken, there is no response to this function:
Since response is undefined, trying to get response.type throws an error that is never caught.Code:/** * Create an event from a response object * @param {Object} response The XHR response object * @return {Ext.direct.Event} The event */ createEvent: function(response) { return Ext.create('direct.' + response.type, response); }
This is in ST2 as well.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote