Ticket #6988: 6988.004.diff
File 6988.004.diff, 529 bytes (added by , 17 years ago) |
---|
-
trunk/wp-admin/js/gallery.js
10 10 11 11 // When an update has occurred, adjust the order for each item 12 12 var galleryReorder = function(e, sort) { 13 jQuery.each(sort[' instance'].toArray(), function(i, id) {13 jQuery.each(sort['element'].sortable('toArray'), function(i, id) { 14 14 jQuery('#' + id + ' .menu_order input')[0].value = i; 15 15 }); 16 16 }