Permalink
Browse files

update jquery test

  • Loading branch information...
1 parent 64073b0 commit 7e90db0a16b6988482623efe8ed22518631a3fb2 @rnicholus rnicholus committed Mar 29, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 test/js/uploader-demo-jquery.js
@@ -1,5 +1,5 @@
$(document).ready(function() {
- var errorHandler = function(event, id, fileName, reason) {
+ var errorHandler = function(event, id, fileName, reason, xhr) {
qq.log("id: " + id + ", fileName: " + fileName + ", reason: " + reason);
};
@@ -32,9 +32,9 @@ $(document).ready(function() {
chunking: {
enabled: true
},
-// resume: {
-// enabled: true
-// },
+ resume: {
+ enabled: true
+ },
retry: {
enableAuto: true,
showButton: true
@@ -83,7 +83,7 @@ $(document).ready(function() {
$('#basicUploadFailureExample').fineUploader({
request: {
endpoint: "/upload/receiver",
- params: {"generateError": true}
+ params: {"generateError": "true"}
},
failedUploadTextDisplay: {
mode: 'custom',

0 comments on commit 7e90db0

Please sign in to comment.