diff --git a/application/views/default/scripts/saisie/lien.phtml b/application/views/default/scripts/saisie/lien.phtml index 7dd79e2a3..45eb2d4a3 100644 --- a/application/views/default/scripts/saisie/lien.phtml +++ b/application/views/default/scripts/saisie/lien.phtml @@ -272,13 +272,6 @@ $('input[name=PDetention]').on('blur', function(e){ } }); -$('input[name=PDetention]').keypress(function(e){ - e.preventDefault(); - if (e.which==13) { - $('#dialog .ui-button:contains("Valider")').click(); - } -}); - $('#dialog').dialog({ buttons: [ { text: "Valider", click: function() { if ($('input[name=PDetention]').val()>100){