Skip to content

Commit

Permalink
Add temporary debugger instruction to downloadFiles
Browse files Browse the repository at this point in the history
When download is initiated by a normal user, it won't stop here, however
when the dev console is open, then it will stop here.
  • Loading branch information
beepsoft committed Jul 19, 2024
1 parent 562fcab commit 9b7aae7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/webapp/filesFragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@
<f:facet name="header">
<script type="text/javascript">
function downloadFiles(url, filelist) {
debugger;
filelist = filelist + ','; //Prevents last file from being dropped on server
var form = $('<form></form>').attr('action', url).attr('method', 'post').attr('enctype', 'text/plain');
form.append($("<input></input>").attr('type', 'hidden').attr('name', 'fileIds').attr('value', filelist));
Expand Down

0 comments on commit 9b7aae7

Please sign in to comment.