Commit fbdbc7e6 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

add autocomplete on email

parent 0ca96cea
......@@ -894,7 +894,7 @@ $(function () {
$("#user_email_val").autocomplete({
source: function( request, response ) {
$.ajax({
url: "index.php?eID=tx_nG6&type=autocomplete&gender=email&project_id=" + $("#current_project_id").val()+"&email_start="+$("#user_email_val").val(),
url: "index.php?eID=tx_nG6&type=autocomplete&gender=email&project_id=" + $("#current_project_id").val()+"&name_start="+$("#user_email_val").val(),
dataType: 'json',
success: function( data ) {
......@@ -910,8 +910,7 @@ $(function () {
value: item.username,
uid: item.uid
}
}));
}));
}
});
},
......
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