Skip to content

Commit

Permalink
fix of ajax response (#520); Closes #519
Browse files Browse the repository at this point in the history
  • Loading branch information
chapcz authored and juniwalk committed Apr 23, 2017
1 parent 140b8ad commit debb85f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/templates/datagrid.latte
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@
</tr>
</thead>

<tbody n:snippet="tbody" n:block="tbody" {if $control->isSortable()}data-sortable data-sortable-url="{plink $control->getSortableHandler()}" data-sortable-parent-path="{$control->getSortableParentPath()}"{/}>
{block tbody}
<tbody n:snippet="tbody" {if $control->isSortable()}data-sortable data-sortable-url="{plink $control->getSortableHandler()}" data-sortable-parent-path="{$control->getSortableParentPath()}"{/}>
{snippetArea items}
{if $inlineAdd && $inlineAdd->isPositionTop()}
{include inlineAddRow, columns => $columns}
Expand Down Expand Up @@ -372,6 +373,7 @@
{/block}
{/snippetArea}
</tbody>
{/block}
{block tfoot}
<tfoot n:snippet="pagination">
{if $control->isPaginated() || $filter_active}
Expand Down

0 comments on commit debb85f

Please sign in to comment.