jquery/jquery-ui — pull request #628 by metaweta (2012-04-05 20:43:42+00:00)
Title: Makes DatePicker work in Google Sites' HTMLBox

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.