We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23da13d commit aa463d5Copy full SHA for aa463d5
vendor/assets/javascripts/jquery-fileupload/jquery.fileupload-ui.js
@@ -571,10 +571,10 @@
571
fileUploadButtonBar.find('.delete')
572
.bind('click.' + ns, function (e) {
573
e.preventDefault();
574
- filesList.find('.delete input:checked')
+ if(confirm('Are you sure?')) {
575
+ filesList.find('.delete input:checked')
576
.siblings('button').click();
- fileUploadButtonBar.find('.toggle')
577
- .prop('checked', false);
+ }
578
});
579
fileUploadButtonBar.find('.toggle')
580
.bind('change.' + ns, function (e) {
0 commit comments