diff --git a/application/views/default/scripts/user/motpasse.phtml b/application/views/default/scripts/user/motpasse.phtml index efbcddb7c..b7c12f922 100644 --- a/application/views/default/scripts/user/motpasse.phtml +++ b/application/views/default/scripts/user/motpasse.phtml @@ -29,7 +29,7 @@ $('a.dlg').on('click', function(e){ pre { font-family: arial; } -label#dlg { +label#frm { clear: both; float: left; width: 20em; @@ -37,7 +37,7 @@ label#dlg { text-align: right; font-weight: bold; } -input#dlg { +input#frm { width: 28em; } .brsr { @@ -91,32 +91,32 @@ Tous les champs (*) sont obligatoires : en cas de données manquantes ou erroné
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
diff --git a/public/themes/default/scripts/motpasse.js b/public/themes/default/scripts/motpasse.js index 3039cde15..14508d527 100644 --- a/public/themes/default/scripts/motpasse.js +++ b/public/themes/default/scripts/motpasse.js @@ -44,6 +44,9 @@ $('#dlg').dialog({ buttons: [ else { $('.loading').css('display', 'none');} $.post('/user/motpasse', values, function(data) { $('#dlg').html(data); + $('pre').hide(); + $('input#frm').attr("disabled", "disabled"); + $(".ui-dialog-buttonpane button:contains('Valider')").hide(); }); } }},