Commit 651e8342 authored by Olivier Lezoray's avatar Olivier Lezoray 🇫🇷
Browse files

Modification Hal.js

parent a4faa171
......@@ -150,7 +150,11 @@
"json"
);
}
function firstNameChange(){
/**
* Description.
* Makes an update of the document on a change of first or last name.
**/
function nameChange(){
if($("#lastName").length && $("#firstName").length)
typeChange();
}
......
......@@ -37,11 +37,11 @@
<div class="row">
<div class="col-sm-6 left">
<label for="lastName">Nom :</label>
<input id="lastName" type="text" value="" onchange="firstNameChange()">
<input id="lastName" type="text" value="" onchange="nameChange()">
</div>
<div class="col-sm-6 left">
<label for="firstName">Prénom :</label>
<input id="firstName" type="text" value="" >
<input id="firstName" type="text" value="" onchange="nameChange()">
</div>
</div>
<div class="row">
......
Supports Markdown
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