entityreference: Fix autocomplete field submit through ajax.