Skip to content

Commit

Permalink
bug fixed for Delete callback not passing filename hayageek#196
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Oct 10, 2021
1 parent 7f3411a commit fce34f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions js/jquery.uploadfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,7 @@
pd.del.click(function () {
removeExistingFileName(obj, fileArray);
pd.statusbar.hide().remove();
data=fileArray;
if(s.deleteCallback) s.deleteCallback.call(this, data, pd);
obj.selectedFiles -= fileArray.length; //reduce selected File count
updateFileCounter(s, obj);
Expand Down
Loading

0 comments on commit fce34f3

Please sign in to comment.