Fix sorting.

This commit is contained in:
James Cole 2015-03-26 22:53:34 +01:00
parent 544ffca3a5
commit f80de12cb5
2 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ $(document).ready(function () {
//stop: stopSorting,
items: 'tr:not(.ignore)',
stop: sortStop,
handle: '.handle'
//revert: 'invalid'
}
).disableSelection();

View File

@ -35,7 +35,7 @@
<tr class="drag" data-date="{{$journal->date->format('Y-m-d')}}">
<td>
<div class="btn-group btn-group-xs">
<a href="#" class="btn btn-default btn-xs"><i class="fa fa-fw fa-arrows-v"></i></a>
<a href="#" class="handle btn btn-default btn-xs"><i class="fa fa-fw fa-arrows-v"></i></a>
<a href="{{route('transactions.edit',$journal->id)}}" class="btn btn-xs btn-default"><i class="fa fa-fw fa-pencil"></i></a>
<a href="{{route('transactions.delete',$journal->id)}}" class="btn btn-xs btn-danger"><i class="fa fa-fw fa-trash-o"></i></a>
</div>