Make WordPress Core

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#15205 closed defect (bug) (fixed)

Disable front static page dropdowns via JS

Reported by: nacin's profile nacin Owned by:
Milestone: 3.1 Priority: lowest
Severity: normal Version:
Component: UI Keywords:
Focuses: Cc:

Description

We should disable via JS the "Front page" and "Posts page" dropdowns when "Latest posts" is selected.

Better UX, less confusion for the user.

Attachments (3)

front-page-displays.png (21.5 KB) - added by nacin 13 years ago.
Disable the two dropdowns unless "a static page" is selected.
15205.diff (1.4 KB) - added by koopersmith 13 years ago.
15205.2.diff (1.8 KB) - added by JustinSainton 12 years ago.

Download all attachments as: .zip

Change History (14)

@nacin
13 years ago

Disable the two dropdowns unless "a static page" is selected.

#1 @jane
13 years ago

Agreed, per chat with @nacin.

#2 @nacin
13 years ago

(In [15945]) Allow fields with a paragraph tag to align to top in the form-table on settings pages. see #15205.

@koopersmith
13 years ago

#3 @nacin
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [15946]) Disable static page dropdowns when 'latest posts' is selected on Settings > Reading. props koopersmith, fixes #15205.

#4 @duck_
13 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Just me or is this working the wrong way around? Should it be:

selects.attr('disabled', staticPage.is(':checked') ? '' : 'disabled'); 

#5 @nacin
13 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [15959]) Fix inverted logic. props duck_. fixes #15205.

#6 @jane
12 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

In 3.4, dropdowns are showing when blog posts selected.

#7 @jane
12 years ago

  • Keywords needs-patch 3.5-early added; ux-feedback removed

While we're in there, can we change Front Page to Home Page? Most users say home, not front.

#8 @JustinSainton
12 years ago

Patch attached for the lingo change. However, I'm still experiencing the fields being disabled if the 'latest posts' option is checked, which appears to be the original intended solution for this ticket. Are you intending for them to be disabled and hidden, or just disabled?

#9 @nacin
12 years ago

As this ticket was closed as fixed on a long-closed milestone, I'm going to close this in lieu of #16379.

#10 @nacin
12 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

#11 @SergeyBiryukov
12 years ago

  • Keywords needs-patch 3.5-early removed
Note: See TracTickets for help on using tickets.