mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Piggy bank can now have a group.
This commit is contained in:
5
public/v1/js/ff/piggy-banks/index.js
vendored
5
public/v1/js/ff/piggy-banks/index.js
vendored
@@ -38,6 +38,7 @@ $(function () {
|
||||
{
|
||||
helper: fixHelper,
|
||||
stop: stopSorting,
|
||||
items: 'tr.sortable',
|
||||
handle: '.handle',
|
||||
start: function (event, ui) {
|
||||
// Build a placeholder cell that spans all the cells in the row
|
||||
@@ -84,7 +85,7 @@ function stopSorting() {
|
||||
"use strict";
|
||||
$('.loadSpin').addClass('fa fa-refresh fa-spin');
|
||||
|
||||
$.each($('#sortable-piggy>tbody>tr'), function (i, v) {
|
||||
$.each($('#sortable-piggy>tbody>tr.sortable'), function (i, v) {
|
||||
var holder = $(v);
|
||||
var position = parseInt(holder.data('position'));
|
||||
var originalOrder = parseInt(holder.data('order'));
|
||||
@@ -110,4 +111,4 @@ function stopSorting() {
|
||||
});
|
||||
$('.loadSpin').removeClass('fa fa-refresh fa-spin');
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user