Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#7801 closed feature (fixed)

Widget: Add document and window properties

Reported by: Scott González 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.

Change History (3)

comment:1 Changed 11 years ago by Scott González

Resolution: fixed
Status: newclosed

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

Changeset: a0856efef3c392d413aa6cd9bd084dc601a337c6

comment:2 Changed 11 years ago by Aziz Gazanchiyan

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.

comment:3 Changed 11 years ago by rdworth

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.

Note: See TracTickets for help on using tickets.