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