Skip to content

Commit e28c124

Browse files
committed
Use dataType option for DELETE requests. Closes blueimp#2638
1 parent 0d16ed9 commit e28c124

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/jquery.fileupload-ui.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* jQuery File Upload User Interface Plugin 8.8.5
2+
* jQuery File Upload User Interface Plugin 8.8.6
33
* https://github.com/blueimp/jQuery-File-Upload
44
*
55
* Copyright 2010, Sebastian Tschan
@@ -320,6 +320,7 @@
320320
);
321321
};
322322
if (data.url) {
323+
data.dataType = data.dataType || that.options.dataType;
323324
$.ajax(data).done(removeNode);
324325
} else {
325326
removeNode();

0 commit comments

Comments
 (0)