Support output-only SCAT

This commit is contained in:
cuom1999 2023-03-25 22:51:43 -05:00
parent a07b147ea6
commit 8952683505
2 changed files with 24 additions and 16 deletions

View file

@ -153,9 +153,15 @@
if (file.name.endsWith('zip')) {
update_submit_area(file.name);
}
else if (file.name.endsWith('sb3')) {
get_source_scratch(file);
}
{% if output_only %}
else if (file.name.endsWith('sb3')) {
update_submit_area(file.name);
}
{% else %}
else if (file.name.endsWith('sb3')) {
get_source_scratch(file);
}
{% endif %}
else {
get_source_default(file);
}