This commit is contained in:
Aram HARUTYUNYAN 2013-10-21 12:43:06 +00:00
parent 64c45e5fba
commit 8a8cec352a

View File

@ -272,6 +272,13 @@ $('input[name=PDetention]').on('blur', function(e){
}
});
$('input[name=PDetention]').keypress(function(event){
if (event.which ==13)
{
$('.ui-button:contains("Valider")').click();
}
});
$('#dialog').dialog({ buttons: [
{ text: "Valider", click: function() {
if ($('input[name=PDetention]').val()>100){