Dear all,
testing the sw I got an error when trying to link an image (i.e. insert an image, then select it and try to click the "insert link" button).
The error I get is:
********************************
Line: 1060
Char: 2
Error: Object doesn't support this property or method
Code: 0
URL:
http://www.snippetmaster.com/snippetmaster/ieeditor/ieeditor.php?BASEURL=/
********************************
Line 1060 (shown in context) is:
********************************
function DECMD_HYPERLINK_onclick() {
var arr, args, oSel, oParent, sType;
oSel = tbContentElement.DOM.selection;
sType=oSel.type;
var oRange = oSel.createRange();
-------> var oElement = oRange.parentElement(); <-----------
// Check if selected text only has an incomplete set of <a> tags. (If only part of a link was selected)
********************************
Any idea?
Thanks for your help