Opened 12 years ago
Closed 12 years ago
#30690 closed defect (bug) (fixed)
Customizer: Hide button for moving widgets to another area when there is only one area
| Reported by: | pavelevap | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Customize | Version: | 3.9 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | ui |
Description
Moving widgets to another widgetized area should be available only when there is one more widget area...
Attachments (2)
Change History (7)
#2
@
12 years ago
- Keywords has-patch needs-testing added; needs-patch removed
- Milestone Awaiting Review → 4.2
- Type enhancement → defect (bug)
- Version 4.0.1 → 3.9
Definitely shouldn't have the option to move a widget if there's nowhere to move it too. With the attached patch, my understanding is that if a second sidebar becomes available when navigating in the preview, the move-widget buttons should become visible again, although I couldn't find any themes that do that in my quick testing.
#4
@
12 years ago
- Keywords needs-testing removed
- Resolution fixed
- Status closed → reopened
Since the sidebar selector shows only rendered sidebars we can't use $sidebarItems.length. 30690.2.diff should fix this.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
If there's only one available sidebar, hide the move-widget button.