Forum OpenACS Development: Absolute URL replaced by Relative URL within Widget.
When users Insert links on the WYSIWYG tab,
the first part of the url is replaced with a "../" only if adding a link that is on the same domain as the published website. Any other links work fine.
So, it's replacing the Absolute URL with a Relative URL.
Should I change the dlgInsertLink procedure within
to make the URL absolute (always)?
This is the code for InsertLink, any suggestions for what I should change the code to please?
<td><img class="rteImage" src="' + imagesPath + 'hyperlink.gif" width="25" height="24"
alt="Insert Link" title="Insert Link"
onClick="dlgInsertLink(\'' + rte + '\', \'link\')">
Thanks in advance!