entityreference: Fix autocomplete field submit through ajax. d.o. issue ...

...#2185003

https://drupal.org/node/2185003