I'm not entirely sure what module to post this bug report under...I've been searching for a solution for a couple of hours and it doesn't appear anyone else has had similar problems.

The error occurs when using the modules Modal Node Reference and Node Relationships--two modules that enhance Node Reference by allowing creation of a referenced node in a modal frame popup.

Using either module everything seems to work fine--I'm able to create a new node, it is created successfully and inserted into the node reference field.

Then, if I click "Add Another Item" on the node reference OR any other field on the node form, the field disappears. Simple as that.

It is kicking one javascript error: uncaught exception: Syntax error, unrecognized expression: #

This happens on all different browsers and operating systems. I'm using dev versions of jquery update, jquery ui, modal frame api, on before unload & either node reference module. I'm using Rubik theme on node editing forms.

If anyone knows that this should be posted under a different project then I apologize...please let me know. Also accepting any advice on debugging this error.

Comments

kevinsiji’s picture

Did you managed to solve this issue. I am facing this very same problem now. Please post here if you have managed to solve this issue.

dsnopek’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

There was a fix for a similar problem committed to Automodal: #1698358: When form in child uses AHAH, automodalClose doesn't work (patch included!). Can you try opening the modal with automodal and see if that works? If so, you may have to copy the approach used in that commit to your module. For now marking as "closed (works as designed)". Feel free to re-open Automodal's approach doesn't work for you.