diff --git a/mockups/agenda.html b/mockups/agenda.html index b4313756..2e38fadc 100644 --- a/mockups/agenda.html +++ b/mockups/agenda.html @@ -38,10 +38,16 @@ }); }); $('#agenda-date').datepicker(); - $('.date').datepicker(); + $('.date').datepicker({showOn: 'button'}); + $('#add-intervenant-btn').click(function() { + var text = $(this).prev().val(); + $('#intervenants ul').append('
  • ' + text + '
  • '); + $(this).prev().val('').focus(); + return false; + }); $('#newrdv').click(function() { $('#rdv').dialog({title: 'Nouveau rendez-vous', - width: '500px', + width: '800px', buttons: [ { text: "Fermer", click: function() { $(this).dialog("close"); } }, { text: "Ajouter", @@ -273,19 +279,20 @@