Skip to content

Commit 23c51a5

Browse files
committed
Merge branch 'master' of https://github.com/ImagingDataCommons/IDC-WebApp into idc-test
2 parents c60be2d + 0a317a1 commit 23c51a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

static/js/cohorts/export-manifest.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ require([
9494
mxstudies+= window.selProjects[proj].mxstudies;
9595
}
9696
var filterSets = new Array();
97-
for (var i=0; i< window.cartHist.length;i++) {
97+
for(let i=0; i< window.cartHist.length;i++) {
9898
filterSets.push(window.cartHist[i]['filter'])
9999
}
100100
update_export_modal_for_cart(partitions, filterSets);
101101
} else if (button.hasClass('cart-export-from-cp')){
102102
update_export_modal_for_cart(window.partitions, window.filtergrp_list);
103-
} else if(button.hasClass('cohort-manifest-export')) {
104-
$('input[name="async_download"]').val(parseInt(button.attr('data-series-count').val()) > 65000 ? "True" : "False");
103+
} else if(button.hasClass('export-cohort-manifest')) {
104+
$('input[name="async_download"]').val(parseInt(button.attr('data-series-count')) > 65000 ? "True" : "False");
105105
}
106106
});
107107

@@ -336,7 +336,7 @@ require([
336336
window.debugArr.push(tmp);
337337
}
338338

339-
if(manifest_type == 'file-manifest' && $('input[name="async_download"]').val().lower() !== "true") {
339+
if(manifest_type == 'file-manifest' && $('input[name="async_download"]').val().toLowerCase() !== "true") {
340340
console.debug($('#export-manifest-form').find('input[name="partitions"]').val());
341341
$('#export-manifest-form').trigger('submit');
342342
} else {

0 commit comments

Comments
 (0)