Google Sites has an HTMLBox component that supports most of jQueryUI but not dynamically-generated scripts, so the event handlers in the HTML generated for the calendar weren't firing. This CL modifies the HTML so that the nodes that need handlers are marked with data-* attributes and then the handlers are attached in a sweep after the static HTML has been added to the DOM, allowing DatePicker to work on Sites.
DatePicker: pulled event handlers into static code. Fixed #8239 - Eve…
…nt handlers don't work in Google Sites' HTMLBox.
Thanks, I've finally reviewed this and am ready to land it in master. Can you please provide your first and last name so that we can properly track all contributors?
Landed in 6dcc5c1.