Comment #2 on issue 1625 by kpreid.switchb.org: problem with jquery selectable on caja playground
http://code.google.com/p/google-caja/issues/detail?id=1625

Analysis: jQuery UI selectable uses event.pageX, whose value we simply pass through and do not rewrite to be relative to the vdoc.

In order to fix this we need to determine the page coordinates of the virtual document's top left corner and subtract them. Doing so is slightly tricky/unportable; see e.g. jQuery.fn.offset in jquery.js.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to