Skip to content

Commit

Permalink
[Bugfix] Language for compact table of children in Popup
Browse files Browse the repository at this point in the history
The language is missing for DataTable for compact table of children in Popup

Funded by Terre de Provence Agglomération
  • Loading branch information
rldhont committed Mar 4, 2024
1 parent 2a397f9 commit 15d9cc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/src/legacy/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -2343,7 +2343,9 @@ window.lizMap = function() {
}

// Handle compact-tables/explode-tables behaviour
$('.lizmapPopupChildren .popupAllFeaturesCompact table').DataTable();
$('.lizmapPopupChildren .popupAllFeaturesCompact table').DataTable({
language: { url:lizUrls["dataTableLanguage"] }
});

$('.lizmapPopupChildren .compact-tables, .lizmapPopupChildren .explode-tables').tooltip();

Expand Down

0 comments on commit 15d9cc5

Please sign in to comment.