angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

$xhr JSONP should call error handlers ($xhr.error)

Open vojtajina opened this issue 15 years ago • 2 comments

Currently, when any error occurs during JSONP (4xx, 5xx) - nothing happens.

See http://code.google.com/p/jquery-jsonp/

vojtajina avatar Jul 07 '11 18:07 vojtajina

original bug report: https://groups.google.com/d/topic/angular/08aJqWtWpJM/discussion

more resources:

  • http://www.nurelm.com/themanual/2010/08/09/self-indulgent-code-jquery-getjson-with-error-handling/
  • http://stackoverflow.com/questions/309953/how-do-i-catch-jquery-getjson-or-ajax-with-datatype-set-to-jsonp-error-wh
  • http://code.google.com/p/jquery-jsonp/wiki/TipsAndTricks

IgorMinar avatar Jul 21 '11 05:07 IgorMinar

Closed by this commit : http://bit.ly/nGMe4M

Codier avatar Aug 10 '11 23:08 Codier