In the popup creation form, directly in the #popups-body div, I see the text "null" (see image in the attachment). It seems not to depend on the node type which refers or is referenced. I cannot find the reason. Thank you in advance for help.

CommentFileSizeAuthor
Popup.jpg42.71 KBmy-family
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gabriel R.’s picture

I see this too. IIRC this was supposed to be the name of the original node that the new node will be linked to.

PS: My installation has other issues too, and when I save the node, it is not being linked back to the original node. In fact in my case, i can save the new node but the UI gets stuck with a Loading animation.

Gabriel R.’s picture

Actually, this seems to be a Popups API issue, as it appears when using the class="popup" call.

fugudesign’s picture

I solved it by replacing (popups.js line 822)

var popup = Popups.openPathContent(json.path, json.title, json.messages + json.content, element, options, parent);

by

var msg = json.messages ? json.messages : '';
var popup = Popups.openPathContent(json.path, json.title, msg + json.content, element, options, parent);
sibopa’s picture

Thanks.
I've been struggling with this "null" on my messages, and thought it was "friendlist" since I'm using popups with friendlist. This have fixed the issue.
Thanks