30 Jun 21:20
text selection and links not working in iframe (html element) in Safari
Henry Minsky <hminsky <at> laszlosystems.com>
2009-06-30 19:20:55 GMT
2009-06-30 19:20:55 GMT
I isolated the bug in http://openlaszlo.org/jira/browse/LPP-8303 down to this code in iframemanager.js
in __setSendMouseEvents , the iframemanager binds the 'mousedown' and 'click' events
lz.embed.attachEventHandler(iframe.document, 'mousedown', lz.embed.iframemanager, '__mouseEvent', id);
lz.embed.attachEventHandler(iframe.document, 'click', lz.embed.iframemanager, '__mouseEvent', id);
And those cause Safari to no longer be able to drag-select text or to click on links.
Is there some way we can re-send those events back to the browser, if thise code is intercepting them?
--
Henry Minsky
Software Architect
hminsky <at> laszlosystems.com
RSS Feed