Skip to content

Commit

Permalink
Fix hidden button from New from Template with no package open.
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-ide committed May 28, 2024
1 parent 6a85e8b commit 9daf99b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp/home/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
'/import_parties_2/', '/import_geo_coverage_2/',
'/import_taxonomic_coverage_2/', '/import_funding_awards_2/',
'import_package_2', 'import_xml_2', 'export_package_2',
'/send_to_other', '/load_geo_coverage',
'/send_to_other', '/load_geo_coverage', '/new_from_template',
'/load_taxonomic_coverage', '/load_taxonomic_coverage_2',
'/manage_data_usage', '/submit_package', '/validate_eml'] %}
{% set ns = namespace(is_non_saving = false) %}
Expand Down
2 changes: 1 addition & 1 deletion webapp/home/templates/new_from_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

<input class="btn btn-primary" id="submit_button" disabled="true" style="width: 100px;" name="" type="submit" value="OK"/>&nbsp;
<input class="btn btn-primary" style="width: 100px;" name="Cancel" type="submit" value="Cancel"/>
{{ macros.hidden_buttons() }}
{{ macros.hidden_buttons_with_no_contents_menu() }}
</form>
</div>
</div>
Expand Down

0 comments on commit 9daf99b

Please sign in to comment.