In "node_widget\includes\node_widget.form.inc" on line 24 a unset($form['field']['advanced']) is performed.
This happens even if node widget is not the selected widget type for the nodereference (and then you can't select a view anymore).

a
if ($form['widget_module']['#value'] == 'node_widget') $form['field']['advanced']
fixes this!

Comments

Shademan’s picture

Title: Performs probably unwanted unset($form['field']['advanced']) » Performs unwanted unset($form['field']['advanced'])
ademarco’s picture

Status: Active » Closed (fixed)

Thanks for reporting. Committed to HEAD http://drupal.org/cvs?commit=342756.

ademarco’s picture

Title: Performs unwanted unset($form['field']['advanced']) » Unconditional remove of advanced options