I have a content type which has an unlimited number of node references. There is both the Nodereference Explorer for selecting existing nodes and the "Add New:" link from Popups: Add & Reference for adding new ones. The nodes being references have, in turn, a node reference field.

On initial page load, the Nodereference Explorer works correctly. Once the Popups link is clicked, neither the Nodereference Explorer in the popup nor the one in the main page work.

Immediately upon opening the popup, Firebug reports the JS error:
settings is undefined
on line 25 of explorer.preview.js:
var path = settings['preview'];

It appears that the settings variable is being reset somehow when the second Nodereference Explorer loads.

I don't have much time to look into it now, but if I could be given a little direction I can try to look at it again within a few days.

Tim Knittel

Comments

heather’s picture

I just tested this with a mock up site. I tried with Popups: Add & Reference and it doesn't work... The link to add disappears entirely, with Firebug not generating any errors.

Anyone else get these two modules working together?

- Heather

gnindl’s picture

Version: 6.x-1.1-beta6 » 6.x-1.x-dev
Status: Active » Fixed

Must have been an akward JS error. Solved as a side effect with the latest development snapshot

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.