Search and Top Navigation
#8239 closed enhancement (duplicate)
Opened April 05, 2012 08:07PM UTC
Closed May 02, 2012 08:00PM UTC
Last modified May 02, 2012 08:00PM UTC
Event handlers don't work in Google Sites' HTMLBox
Reported by: | metaweta | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.18 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Google Sites allows people to use HTML and JavaScript and transforms it to be safe. It throws away dynamically-generated JavaScript, so the onclick and onchange handlers get stripped. If the event handler code was supplied beforehand and the generated HTML nodes were labeled with an attribute that told which event handler to apply, a pass over the static nodes could attach them and allow datepicker to work on Sites.
A CL on github is in preparation.
https://github.com/metaweta/jquery-ui/commit/df77b43f08c593ed5a21323c02cc51b8ada37b02