Fixes Ticket #1834. Sorting slides difficult when there are only two of them. Commit ready for merge

- Legacy-Id: 10349
This commit is contained in:
Ryan Cross 2015-10-31 09:47:12 +00:00
parent 8c82fef683
commit 79c49094e2

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");