Skip to content

Commit a6995bb

Browse files
author
George
committed
just use series level store for cart manifest
1 parent 669d149 commit a6995bb

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

static/js/cohorts/export-manifest.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,6 @@ require([
115115
$('#export-manifest-form').append('<input type="hidden" name="filtergrp_list">')
116116
$('#export-manifest-form').find('input[name="filtergrp_list"]').val(JSON.stringify(filtergrp_list));
117117
}
118-
if ($('#export-manifest-form').find('.debug').length==0){
119-
$('#export-manifest-form').append('<input type="hidden" name="debug" class="debug">')
120-
}
121-
$('#export-manifest-form').find('input[name="debug"]').val(window.lvl);
122-
123118

124119
$('#export-manifest-form').append('<input type="hidden" name="partitions">')
125120
$('#export-manifest-form').find('input[name="partitions"]').val(JSON.stringify(partitions));
@@ -331,16 +326,6 @@ require([
331326
+ '-checkbox').is(':checked')) ? 'true' : 'false');
332327
}
333328

334-
// capture cart state and manifest creation call if in debug mode
335-
if (($('#export-manifest-form').find('input[name="from_cart"]').val()=="True") && typeof(window.debug_cart=="boolean") && (window.debug_cart)){
336-
if (typeof(window.debugArr) == "undefined"){
337-
window.debugArr= new Array();
338-
}
339-
var tmp = new Object();
340-
tmp['hist'] = JSON.parse(JSON.stringify(window.cartHist));
341-
tmp['data'] =$('#export-manifest-form').serialize();
342-
window.debugArr.push(tmp);
343-
}
344329

345330
if(manifest_type == 'file-manifest' && $('input[name="async_download"]').val().toLowerCase() !== "true") {
346331
console.debug($('#export-manifest-form').find('input[name="partitions"]').val());

0 commit comments

Comments
 (0)