Hello,
using ckfinder in a page were overlib is used too causes the javascrip to crash in overlib.js
Line: 768
Error: 'over' is null or not an object
// Writes to a layer
function layerWrite(txt) {
txt += "\n";
if (olNs4) {
var lyr = o3_frame.document.layers['overDiv'].document
lyr.write(txt)
lyr.close()
} else if (typeof over.innerHTML != 'undefined') { if (olIe5 && isMac) over.innerHTML = '';
over.innerHTML = txt;
} else {
range = o3_frame.document.createRange();
range.setStartAfter(over);
domfrag = range.createContextualFragment(txt);
while (over.hasChildNodes()) {
over.removeChild(over.lastChild);
}
over.appendChild(domfrag);
}
}
using ckfinder in a page were overlib is used too causes the javascrip to crash in overlib.js
Line: 768
Error: 'over' is null or not an object
// Writes to a layer
function layerWrite(txt) {
txt += "\n";
if (olNs4) {
var lyr = o3_frame.document.layers['overDiv'].document
lyr.write(txt)
lyr.close()
} else if (typeof over.innerHTML != 'undefined') { if (olIe5 && isMac) over.innerHTML = '';
over.innerHTML = txt;
} else {
range = o3_frame.document.createRange();
range.setStartAfter(over);
domfrag = range.createContextualFragment(txt);
while (over.hasChildNodes()) {
over.removeChild(over.lastChild);
}
over.appendChild(domfrag);
}
}
Re: Error when used with overlib
I have installed overlib 4.22 in a standalone example provided with CKFinder and everything seems to be working fine, I can see the tooltip created with overlib and use CKFinder as well. No errors are thrown.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Error when used with overlib
works correctly with firefox though