fix injection bugs in table editor
This commit is contained in:
@@ -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))
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user