Skip to content

Commit d89ea5a

Browse files
committed
fix(cancel): cancel button hidden after failure in some cases
This is reproducible with a file that has sent all bytes but is then rejected in the server response. Changes ensure the cancel button is always visible when an upload fails.
1 parent 5452425 commit d89ea5a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/dev/devenv.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,12 @@ qq(window).attach("load", function() {
225225
enableAuto: true,
226226
showButton: true
227227
},
228+
thumbnails: {
229+
placeholders: {
230+
waitingPath: "/client/placeholders/waiting-generic.png",
231+
notAvailablePath: "/client/placeholders/not_available-generic.png"
232+
}
233+
},
228234
callbacks: {
229235
onError: errorHandler
230236
}

0 commit comments

Comments
 (0)