jQuery('.TiddlySpaceInclusion ul').sortable({ // this could be improved by setting a class on the ul and using that as the selector
    stop: function(event, ui) {
        var out = [];
        jQuery('.TiddlySpaceInclusion ul li a').not('.deleteButton').each(function() {  // this could be improved by adding a class to the li links (not the delete links so they can be addressed individually.
            out.push(jQuery(this).text());
        })
        alert(out.join('\n'));
    }
});
bag
inclusionsort_public
created
Mon, 02 Aug 2010 12:34:02 GMT
creator
colmbritton
modified
Mon, 02 Aug 2010 12:34:19 GMT
modifier
colmbritton