fix injection bugs in table editor

This commit is contained in:
2018-08-12 21:58:42 +02:00
parent b716260a53
commit 7ae41b368e
6 changed files with 13 additions and 26 deletions
@@ -16,8 +16,8 @@
ready(function() {
app.ColumnEditor('#column-editor', {
name: 'columns',
route: {!! toJSON($table->draftUpdateRoute) !!},
xColumns: {!! toJSON($columns) !!},
route: @json($table->draftUpdateRoute),
xColumns: @json($columns),
orderChanged: @json(!empty($changeset->columnOrder))
})
});