projects
/
scpubgit/stemmaweb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fixes and styling for upload error handling.
[scpubgit/stemmaweb.git]
/
root
/
js
/
uploader.js
diff --git
a/root/js/uploader.js
b/root/js/uploader.js
index
102b9f1
..
7fd5fe0
100644
(file)
--- a/
root/js/uploader.js
+++ b/
root/js/uploader.js
@@
-69,6
+69,11
@@
function create_uploader(upload_url) {
$('<span>').attr('class', 'error').append( result.error ) );
}
});
+
+ uploader.bind('Error', function(up, err) {
+ console.log( 'echt wel' );
+ console.log( err );
+ });
uploader.init();