Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4ff30b8

Browse files
committed
Replaced the "this" reference with the "handler" parameter in the function body of the cancelUpload method.
1 parent 16d790c commit 4ff30b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.fileupload-ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
xhr.abort();
7979
// If readyState is below 2, abort() has no effect:
8080
if (isNaN(readyState) || readyState < 2) {
81-
this.onAbort(event, files, index, xhr, handler);
81+
handler.onAbort(event, files, index, xhr, handler);
8282
}
8383
};
8484

0 commit comments

Comments
 (0)