Fix sort [skip ci]

This commit is contained in:
James Cole
2017-01-01 17:01:29 +01:00
parent 04290bf9b6
commit 540fc4f924

View File

@@ -73,7 +73,7 @@ function stopSorting() {
"use strict";
$('.loadSpin').addClass('fa fa-refresh fa-spin');
var order = [];
$.each($('#sortable>tbody>tr'), function (i, v) {
$.each($('#sortable-piggy>tbody>tr'), function (i, v) {
var holder = $(v);
var id = holder.data('id');
order.push(id);