WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/24/2013 10:06:13 PM (7 years ago)
Author:
azaozz
Message:

Widgets:

  • Don't deactivate "draggable" on the widget when the chooser is open. Makes it possible to still drag the "widget-in-question".
  • Change the chooser's HTML id to a class to avoid collisions when cloning.
  • Refresh the "sortable" positions when an open widget is dragged. Fixes problems moving the widget up or down in the same sidebar.

See #25821

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/widgets.php

    r26293 r26366  
    429429</div>
    430430
    431 <div id="widgets-chooser">
     431<div class="widgets-chooser">
    432432    <ul class="widgets-chooser-sidebars"></ul>
    433433    <div class="widgets-chooser-actions">
Note: See TracChangeset for help on using the changeset viewer.