Make WordPress Core

Opened 19 years ago

Closed 18 years ago

Last modified 17 years ago

#5936 closed defect (bug) (fixed)

Widget sidebar dropdown should automatically change

Reported by: filosofo Owned by:
Priority: normal Milestone: 2.8
Component: Widgets Version: 2.5
Severity: normal Keywords: select widgets admin has-patch
Cc: Focuses:

Description

The sidebar drop-down list for the admin widgets page should automatically switch to the selected sidebar, as it's tedious to have to select the sidebar, then press "go."

My patch adds one line of JavaScript to the common admin js file, a line which automatically submits any dropdowns with the class of 'auto-submit', so the same automatic submission can be used anywhere in admin.

Attachments (3)

auto_submit.diff​ (1.3 KB ) - added by filosofo 19 years ago.
auto_submit.2.diff​ (1.2 KB ) - added by filosofo 18 years ago.
auto_submit_management.diff​ (2.4 KB ) - added by filosofo 18 years ago.

Download all attachments as: .zip

Change History (9)

#1 @bryan868
19 years ago

+1 for this!

#2 @bryan868
19 years ago

FYI: This fix needs to be updated for RC2

#3 @filosofo
18 years ago

I've refreshed the patch for trunk. The lack of this feature--i.e. the fact that you have to select the sidebar, then click "Show"--was something one of the guests on the WordPress Weekly podcast was just complaining about last week, and I've seen others mention it as well.

Besides, the nifty thing is that because it's based on a drop-down having a certain class, it can be used elsewhere in the admin.

#4 @filosofo
18 years ago

The auto_submit_management.diff patch shows how a simple change--just adding the "auto-submit" class--can make for a better user experience. Try the drop-downs on the post and link management pages after applying the patches, to see what I mean.

#5 @ryan
18 years ago

  • Component Administration → Widgets
  • Owner anonymous removed

#6 @Denis-de-Bernardy
18 years ago

  • Milestone 2.9 → 2.8
  • Resolution → fixed
  • Status new → closed

marking as fixed with #9511

Note: See TracTickets for help on using tickets.