Commit 4b593b8a authored by Eric Seigne's avatar Eric Seigne
Browse files

evite collision de noms

parent a8b64129
......@@ -24,8 +24,8 @@
<div class="feedVehicules" id='feedVehiculesPerso'></div>
<ons-list style="clear: both;">
<input required name="depart" id="depart" type="text" placeholder="Ville de départ">
<ons-list-item class="listeVille" id="listeDepart" expandable data-role="listview" data-filter="true" data-filter-reveal="true" data-input="#label">
<input required name="departAgendaIK" id="departAgendaIK" type="text" placeholder="Ville de départ">
<ons-list-item class="listeVille" id="listedepartAgendaIK" expandable data-role="listview" data-filter="true" data-filter-reveal="true" data-input="#label">
<span class="translate">favorites</span>
</ons-list-item>
</ons-list>
......@@ -52,13 +52,13 @@
</div> -->
</div>
<script>
$('#depart').keyup(function () {
$('#listeDepart').show();
$('#departAgendaIK').keyup(function () {
$('#listedepartAgendaIK').show();
});
function selectDepart(ville) {
$('#listeDepart').hide();
$('#depart').val(ville);
$('#listedepartAgendaIK').hide();
$('#departAgendaIK').val(ville);
}
// function rSyncDeleteConfirm(id) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment