add notification if image upload fails

This commit is contained in:
jdescottes
2014-10-01 01:21:49 +02:00
parent dc4de32162
commit c32af500dc
4 changed files with 36 additions and 17 deletions

View File

@@ -37,7 +37,7 @@
};
xhr.onerror = function(e) {
error(e);
error(e, this);
};
return xhr;