On node creation form. When clicking submit (or preview) values are lost.

I've seen they are not passed in $form_state to entityreference_node_browser_validate.

Comments

jonhattan’s picture

Status: Active » Needs review
StatusFileSize
new1.55 KB

I managed to found the problem was in javascript. It was asumming that the field type is entityreference.

Perhaps there's a better fix. JS is not my forte.

jonhattan’s picture

StatusFileSize
new1.56 KB

corrected indentation.

davidseth’s picture

Status: Needs review » Closed (fixed)

wrong issue !

davidseth’s picture

Assigned: Unassigned » davidseth
Status: Closed (fixed) » Needs review
davidseth’s picture

Status: Needs review » Closed (fixed)

@jonhattan, great, thanks for the excellent patch. Just got done testing.

Committed: http://drupalcode.org/sandbox/davidseth/1489176.git/commit/803e0d5