Opened 4 years ago

Closed 2 years ago

#9541 closed feature (fixed)

Button: Use control.labels if available

Reported by: Scott González Owned by:
Priority: minor Milestone: 1.12.0
Component: ui.button Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

Change History (4)

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

Status: newopen

We can check the control property without doing any feature detection. If the result is undefined, then we need to query for the associated control. If it's null, then there is no associated control.

comment:2 Changed 4 years ago by Scott González

Description: modified (diff)
Summary: Button: Use label.control if availableButton: Use control.labels if available

Turns out we always search in the opposite direction. Updating to use control.labels instead of label.control.

comment:3 Changed 4 years ago by Jörn Zaefferer

This is being implemented in the button rewrite: https://github.com/jquery/jquery-ui/pull/1216

comment:4 Changed 2 years ago by Scott González

Milestone: none1.12.0
Resolution: fixed
Status: openclosed

Confirmed fixed in master.

Note: See TracTickets for help on using tickets.