Commit b6071676 authored by Romain Loth's avatar Romain Loth

prevent tab from autocompleting parent institution

parent f46774c7
...@@ -607,6 +607,10 @@ $(function() { ...@@ -607,6 +607,10 @@ $(function() {
autoFocus: true, autoFocus: true,
select: function( event, ui ) { select: function( event, ui ) {
// console.log(ui) // console.log(ui)
// not tab because used to move on to next field
if(event.keyCode == 9) return false;
$institutionInput[0].style.fontWeight = "bold" $institutionInput[0].style.fontWeight = "bold"
} }
}); });
......
Markdown is supported
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