Support output-only SCAT
This commit is contained in:
parent
a07b147ea6
commit
8952683505
2 changed files with 24 additions and 16 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue