There's some code in the kernel DHTML LzInputTextSprite which globally
disables the onselectstart

// prevent text selection in IE
// can't use lz.embed.attachEventHandler because we need to cancel events
    document.onselectstart = LzTextSprite.prototype.__cancelhandler;
    document.ondrag =  LzTextSprite.prototype.__cancelhandler;

What was the need for that? Why wasn't it sufficient to rely on the
LzTextSprite.setSelectable behavior
(which sets         this.__LZdiv.onselectstart =
LzTextSprite.prototype.__cancelhandler )? Or was this
to fix some other issue besides toggling (input) text selectability?



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to