Commit b6071676 authored by Romain Loth's avatar Romain Loth

prevent tab from autocompleting parent institution

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