Merged in [10349] from rcross@amsl.com:

Fixes Ticket .  Sorting slides difficult when there are only two of them.
 - Legacy-Id: 10367
Note: SVN reference [10349] has been migrated to Git commit 79c49094e2
This commit is contained in:
Henrik Levkowetz 2015-11-02 05:40:23 +00:00
commit 5e7a896d21

View file

@ -127,7 +127,7 @@ function init_proceedings_upload() {
// handle slide sorting
$('#slides.sortable tbody').sortable({
axis:'y',
containment:'parent',
//containment:'parent',
update: function(event, ui){
var data = $(this).sortable("toArray");
var element_id = ui.item.attr("id");