Skip to main content

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.

Attachments (0)
Change History (4)

Changed April 05, 2012 08:50PM UTC by metaweta comment:2

That commit is also a fix for 3945.

Changed May 02, 2012 08:00PM UTC by scottgonzalez comment:3

resolution: → duplicate
status: newclosed

Changed May 02, 2012 08:00PM UTC by scottgonzalez comment:4

Duplicate of #3945.