I changed the view (nodepicker_nodes) to output custom text with all the html instead of marking the checkbox "Output this field as a link". So i now have the custom text
[code]Insert link[/code] This custom text does not get parsed by Drupals clean URL function (it seems) and stays intact after rendering the view.
I then noticed that the javascript did a replace on the href attribute that made a broken link.
nodepicker_insert($self.attr("href").replace(parent.Drupal.settings.basePath, ''), $self.attr("title")); in the file /js/nodepicker.js
The parent.Drupal.settings.basePath equaled a backslash. I changed it to
nodepicker_insert($(this).attr("href"), $(this).attr("title")); and now it works fine.
Comments
Comment #1
peter törnstrand commentedYes, I discovered the same thing just now. A fix for this is commited to DEV branch.