Hello,

I found that when we create a referenced node by the "Create [Content Type]" link, this link is still here after the node form submission.

I think it's better if this link is transformed by an Edit link and a Delete link, so i have juste add this little snippet to the js/references-dialog.js on line 41 :

$('.' + key).empty();
$('.' + key).append('<ul class="references-dialog-links"><li class="0 first"><a href="/fr/node/' + entity_id + '/edit" class="edit-dialog references-dialog-activate" original-title="">Modifier</a></li><li class="1"><a href="/fr/node/' + entity_id  + ' /delete?destination=node/285/edit" class="delete-dialog" original-title="">Supprimer</a></li></ul>');

I hope it will be usefull and could be a way to improve the UI of this module !

Joel.

Comments

imclean’s picture

rogical’s picture

This is a bit different, we still need to find out a way to use support all entity edit links, not just node.

rogical’s picture

rogical’s picture

Issue summary: View changes

mistake

VasyOK’s picture

Issue summary: View changes

In latest dev version same trouble