Brion Vibber 7d202e9c61 Detect and show AJAX errors on FormXHR submission handling.
Previously we threw away errore reported by the actual AJAX submission and only used whatever error the browser reported to us; this didn't help if we reached the server ok but had a problem there.
We now extract the #error if given and use that in the alert().
Also should now show 'Unknown error' instead of a crappy generic 'something died in jQuery' when we get a 200 response but bogus return data.
2011-03-16 16:10:43 -07:00
..
2009-08-26 03:33:43 -04:00
2011-03-10 10:18:35 -06:00
2010-11-17 12:14:50 -05:00
2010-11-17 12:14:50 -05:00