And another small JS fix [skip ci]

This commit is contained in:
James Cole 2015-04-28 20:20:16 +02:00
parent b2db79cc10
commit deebdd86a6

View File

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