You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$('body').append('<center><p style="margin-top:60px;" class="bold">No such process is running at the moment.</p><p>Refresh to try again or use the link below to access resulting data in case the process has already finished:<br/><br/><a style="cursor:pointer;" href="'+ destinationLink +'">'+ (fileName =='?'? destinationLink : fileName) +'</a></p></center>');
$('body').append('<center><p style="margin-top:60px;" class="bold">Process has completed. Data is now <a style="cursor:pointer;" href="'+ destinationLink +'">available here</a></center>');
$('body').append('<center id="defaultMsg"><p style="margin-top:60px;" class="bold">No such process is running at the moment.</p><p>Refresh to try again or use the link below to access resulting data in case the process has already finished:<br/><br/><a style="cursor:pointer;" href="'+ downloadURL +'">'+ (fileName =='?'? downloadURL : fileName) +'</a></p></center>');
$('body').append('<center><p style="margin-top:60px;" class="bold">Process has completed. Data is now <a style="cursor:pointer;" href="'+ downloadURL +'">available here</a></center>');
104
+
</c:if>
105
+
$('#progress').off('hidden.bs.modal');
106
+
});
107
+
}
108
+
},
109
+
error: function (xhr, ajaxOptions, thrownError) {
110
+
handleError(xhr, thrownError);
111
+
}
112
+
});
113
+
$("div.modal-backdrop").remove();
114
+
}
115
+
116
+
<c:if test="${param.exportFormat !=null}">
117
+
function successFunction() {
118
+
let fileExtensions ="${param.exportFormatExtensions}".split(";");
<h3 class="loading-message"><span id="progressText" class="loading-message">Please wait...</span><span id="ddlWarning" style="display:none;"><br/><br/>Output file is being generated and will not be valid before this message disappears</span></h3>
<button style="display:inline; margin-left:10px;" id="asyncProgressButton" class="btn btn-info btn-sm" type="button" onclick="window.open('ProgressWatch.jsp?process=export_' + token + '&abortable=true&successURL=' + escape(downloadURL));" title="This will open a separate page allowing to watch export progress at any time. Leaving the current page will not abort the export process.">Open async progress watch page</button>
336
+
<button style="display:inline; margin-left:10px;" id="asyncProgressButton" class="btn btn-info btn-sm" type="button" onclick="window.open('ProgressWatch.jsp?process=export_' + token + '&abortable=true&successURL=' + escape(downloadURL) + '&module=' + getModuleName() + '&exportFormat=' + $('#exportFormat').val() + '&galaxyInstanceUrl=' + $('#galaxyInstanceURL').val() + '&exportedVariantCount=' + count + '&exportedIndividualCount=' + exportedIndividualCount + '&exportFormatExtensions=' + $('#exportFormat option:selected').data('ext') + '&exportedTsvMetadata=' + ($('#exportPanel input#exportedIndividualMetadataCheckBox').is(':checked') && 'FLAPJACK' != $('#exportFormat').val() && 'DARWIN' != $('#exportFormat').val()));" title="This will open a separate page allowing to watch export progress at any time. Leaving the current page will not abort the export process.">Open async progress watch page</button>
let fileExtensions = $("#exportFormat option:selected").data('ext').split(";");
1966
+
if ($('#exportPanel input#exportedIndividualMetadataCheckBox').is(':checked') &&"FLAPJACK"!= $('#exportFormat').val() &&"DARWIN"!= $('#exportFormat').val() /* these two already have their own metadata file format*/)
0 commit comments