undefined when using look up record>New

Jan 26, 2016 at 9:01 PM
This code was exactly what I was looking for- I had two custom entities, one is a primary contact of the other, think account and contact but with custom entities.
If you choose to look up a record to add the primary contact to the account, and then choose new prom the loop up record window, I then create my contact, first na,e, last name etc. and click save. It then says "undefined" in the lookup search window