WordPress.org

Make WordPress Core

Changeset 8259


Ignore:
Timestamp:
07/05/2008 05:01:28 AM (10 years ago)
Author:
ryan
Message:

Gallery sort fix from AaronCampbell. fixes #6988

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/gallery.js

    r7974 r8259  
    1111    // When an update has occurred, adjust the order for each item
    1212    var galleryReorder = function(e, sort) {
    13         jQuery.each(sort['instance'].toArray(), function(i, id) {
     13        jQuery.each(sort['element'].sortable('toArray'), function(i, id) {
    1414            jQuery('#' + id + ' .menu_order input')[0].value = i;
    1515        });
Note: See TracChangeset for help on using the changeset viewer.