Skip to content

Commit

Permalink
Init param when change tab in modal new layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Agath21 committed Mar 27, 2023
1 parent e2d5c95 commit f90d126
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,7 @@ <h5 class="modal-title" i18n="modal.layer.new.searchdata">Ajouter une donnée</h
<div class="modal-body">
<ul class="nav nav-pills mb-4" id="pills-tab-layers" role="tablist">
<li class="nav-item" role="presentation">
<a class="nav-link active" data-bs-toggle="pill" data-bs-target="#newlayer-catalog" type="button" role="tab" aria-controls="pills-newlayer-catalog" aria-selected="true" onclick="mv.resetConfLayer();">
<a class="nav-link active" data-bs-toggle="pill" data-bs-target="#newlayer-catalog" type="button" role="tab" aria-controls="pills-newlayer-catalog" aria-selected="true" onclick="mv.resetConfLayer(); ">
<span i18n="modal.layer.new.catalog">Depuis un catalogue</span>
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion lib/mv.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ var mv = (function () {
$("#mod-layerNew").modal('hide');
$("#mod-themeOptions").modal('show');

mv.resetConfLayer();
mv.resetConfLayer();
return
}
// CAS 1 : Ajout d'une couche via un catalogue
Expand Down

0 comments on commit f90d126

Please sign in to comment.