Make WordPress Core

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#5936 closed defect (bug) (fixed)

Widget sidebar dropdown should automatically change

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


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 12 years ago.
auto_submit.2.diff (1.2 KB) - added by filosofo 12 years ago.
auto_submit_management.diff (2.4 KB) - added by filosofo 12 years ago.

Download all attachments as: .zip

Change History (9)

#1 @bryan868
12 years ago

+1 for this!

#2 @bryan868
12 years ago

FYI: This fix needs to be updated for RC2

#3 @filosofo
12 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
12 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
11 years ago

  • Component changed from Administration to Widgets
  • Owner anonymous deleted

#6 @Denis-de-Bernardy
11 years ago

  • Milestone changed from 2.9 to 2.8
  • Resolution set to fixed
  • Status changed from new to closed

marking as fixed with #9511

Note: See TracTickets for help on using tickets.