Loading js/Hal.js +11 −3 Original line number Diff line number Diff line Loading @@ -87,6 +87,10 @@ wt:"json", rows:500}, function(result){ if(!result.response) { $("#publications").html(""); return; } var docs = result.response.docs; var output=""; if(docs.length>0) { Loading Loading @@ -146,6 +150,10 @@ "json" ); } function firstNameChange(){ if($("#lastName").length && $("#firstName").length) typeChange(); } /** * Description. * Makes an update of the document on a change of year. Loading @@ -165,8 +173,8 @@ * Makes an update of the document on a change of document type. **/ function typeChange(){ lastName=$("#lastName").val(); firstName=$("#firstName").val(); if($("#lastName").length) lastName=$("#lastName").val(); if($("#firstName").length) firstName=$("#firstName").val(); var selectedDocType=$("#documentTypeSelect").val(); if(selectedDocType=="None" || (lastName=="")) { $("#publications").html(""); Loading publicationsHALParPersonne.html +5 −5 Original line number Diff line number Diff line Loading @@ -36,12 +36,12 @@ </div> <div class="row"> <div class="col-sm-6 left"> <label for="firstName">Prénom :</label> <input id="firstName" type="text" value=""> <label for="lastName">Nom :</label> <input id="lastName" type="text" value="" onchange="firstNameChange()"> </div> <div class="col-sm-6 left"> <label for="lastName">Nom :</label> <input id="lastName" type="text" value=""> <label for="firstName">Prénom :</label> <input id="firstName" type="text" value="" > </div> </div> <div class="row"> Loading Loading
js/Hal.js +11 −3 Original line number Diff line number Diff line Loading @@ -87,6 +87,10 @@ wt:"json", rows:500}, function(result){ if(!result.response) { $("#publications").html(""); return; } var docs = result.response.docs; var output=""; if(docs.length>0) { Loading Loading @@ -146,6 +150,10 @@ "json" ); } function firstNameChange(){ if($("#lastName").length && $("#firstName").length) typeChange(); } /** * Description. * Makes an update of the document on a change of year. Loading @@ -165,8 +173,8 @@ * Makes an update of the document on a change of document type. **/ function typeChange(){ lastName=$("#lastName").val(); firstName=$("#firstName").val(); if($("#lastName").length) lastName=$("#lastName").val(); if($("#firstName").length) firstName=$("#firstName").val(); var selectedDocType=$("#documentTypeSelect").val(); if(selectedDocType=="None" || (lastName=="")) { $("#publications").html(""); Loading
publicationsHALParPersonne.html +5 −5 Original line number Diff line number Diff line Loading @@ -36,12 +36,12 @@ </div> <div class="row"> <div class="col-sm-6 left"> <label for="firstName">Prénom :</label> <input id="firstName" type="text" value=""> <label for="lastName">Nom :</label> <input id="lastName" type="text" value="" onchange="firstNameChange()"> </div> <div class="col-sm-6 left"> <label for="lastName">Nom :</label> <input id="lastName" type="text" value=""> <label for="firstName">Prénom :</label> <input id="firstName" type="text" value="" > </div> </div> <div class="row"> Loading