Make WordPress Core

Opened 16 years ago

Closed 14 years ago

Last modified 14 years ago

#15205 closed defect (bug) (fixed)

Disable front static page dropdowns via JS

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

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 16 years ago.
Disable the two dropdowns unless "a static page" is selected.
15205.diff (1.4 KB ) - added by koopersmith 16 years ago.
15205.2.diff (1.8 KB ) - added by JustinSainton 14 years ago.

Download all attachments as: .zip

Change History (14)

@nacin
16 years ago

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

#1 @jane
16 years ago

Agreed, per chat with @nacin.

#2 @nacin
16 years ago

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

@koopersmith
16 years ago

#3 @nacin
16 years ago

  • Resolutionfixed
  • Status newclosed

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

#4 @duck_
16 years ago

  • Resolution fixed
  • Status closedreopened

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

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

#5 @nacin
16 years ago

  • Resolutionfixed
  • Status reopenedclosed

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

#6 @jane
14 years ago

  • Resolution fixed
  • Status closedreopened

In 3.4, dropdowns are showing when blog posts selected.

#7 @jane
14 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
14 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
14 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
14 years ago

  • Resolutionfixed
  • Status reopenedclosed

#11 @SergeyBiryukov
14 years ago

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