We have recently implemented the latest version of the RadControls to address issues using the Editor in Chrome. We are using the RadControls in DotNetNuke 7. For the most part, everything seems to be working okay now, however we are having an issue when selecting images in the Image Manager to insert into the Editor. When we click on the image, the Image Manager window closes but the selected image doesn't appear in the Editor. We are seeing a JavaScript error:
Uncaught TypeError: Object [object Array] has no method 'cloneNode' - jquery.js:9597
CloneNode seems to be called in the following method:
case "ImageManager":
var callbackFunction = function (sender, args) {
//result holds the image element
var result = Telerik.Web.UI.Editor.Utils.getOuterHtml(args.get_value());
var div = document.createElement("DIV");
Telerik.Web.UI.Editor.Utils.setElementInnerHtml(div, result);
//First child must be the image!
var img = div.firstChild;
div.style.overflow = "hidden";
div.style.width = "1px";
div.style.height = "1px";
document.body.appendChild(div);
//GET THE INSERTED IMAGE WIDTH AND HEIGHT
//alert(img.offsetWidth + " -- " + img.offsetHeight);
img.width = img.offsetWidth;
img.height = img.offsetHeight;
editor.pasteHtml(div.innerHTML, "ImageManager");
};
Any ideas what might be causing this issue? Should the full RadControls work properly in the DNN environment?