Skip to content

Commit

Permalink
Fixed registering before populating
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Feb 3, 2024
1 parent d01e346 commit 7904411
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions manager/manager/templates/configuration_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -524,13 +524,11 @@ <h4 class="alert alert-success">{% blocktrans %}Selected ZIMs{% endblocktrans %}
});
setOrdering("name");

populatePackages();
registerAddPackage();
registerRemovePackage();
registerToggleInternalApps();

// register packages (apps and files)
populatePackages();

// select ZIM language based on config (if catalog has zim for that lang)
let lang = $('#' + language_field_id).val();
if ($('#lang_filter option[value="' + lang + '"]').length > 0) {
Expand Down

0 comments on commit 7904411

Please sign in to comment.