Skip to main content

Search and Top Navigation

#7801 closed feature (fixed)

Opened October 17, 2011 06:20PM UTC

Closed October 20, 2011 08:58PM UTC

Last modified June 25, 2012 09:03AM UTC

Widget: Add document and window properties

Reported by: scottgonzalez Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.widget Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:
Description

Widgets frequently need to reference the document and/or window. However, the references are usually done with the document and window globals which breaks cross-window widgets. Adding properties that reference the document and window would make it much easier to build widgets properly.

Attachments (0)
Change History (3)

Changed October 20, 2011 08:58PM UTC by Scott González comment:1

resolution: → fixed
status: newclosed

Widget: Added window and document properties. Fixes #7801 - Widget: Add document and window properties.

Changeset: a0856efef3c392d413aa6cd9bd084dc601a337c6

Changed June 25, 2012 07:02AM UTC by creage comment:2

We still miss these options for many of other widgets. The one I really miss is Datepicker - it is totally bound to top document/window, making it impossible to use in iframes.

Changed June 25, 2012 09:03AM UTC by rdworth comment:3

Datepicker is unique in that it is the only one of all the interactions and all the widgets that does not use the widget factory, so it's not able to take advantage of a fix/feature like this. This will be handled in the Datepicker rewrite.