File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
deposit/static/deposit/js
research/static/research/js Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ $(document).ready(function () {
122122 // Start with the directory
123123 const downloadEntries = [ { name : folderName + '/' } ]
124124
125- for ( const item of data ) {
125+ for ( const item of data . manifest ) {
126126 if ( item . name . endsWith ( '/' ) ) {
127127 // Sub-folder
128128 downloadEntries . push ( { name : folderName + '/' + item . name } )
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ $(document).ready(function () {
118118 // Start with the directory
119119 const downloadEntries = [ { name : folderName + '/' } ]
120120
121- for ( const item of data ) {
121+ for ( const item of data . manifest ) {
122122 if ( item . name . endsWith ( '/' ) ) {
123123 // Sub-folder
124124 downloadEntries . push ( { name : folderName + '/' + item . name } )
You can’t perform that action at this time.
0 commit comments