4
4
gallerySortableInit = function() {
5
5
gallerySortable = $('#media-items').sortable( {
7
7
placeholder: 'sorthelper',
11
12
// When an update has occurred, adjust the order for each item
12
13
var all = $('#media-items').sortable('toArray'), len = all.length;