@@ -122,7 +122,8 @@
self.updateProgressBar();
}
},
- error : function() {
+ error : function(jqXHR, textStatus, errorThrown) {
+ alert(errorThrown);
self.curr_chunk = 0;
self._upload();
@@ -447,4 +448,4 @@
// Export the objects to the window for use in other JS files.
window.TripalUploadFile = TripalUploadFile;
-})(jQuery);
+})(jQuery);