phases one of time logged now with log display
This commit is contained in:
+12
-8
@@ -1,14 +1,18 @@
|
||||
window.dtx = window.dtx || {};
|
||||
window.dtx["%1$s"] = function(opts) {
|
||||
window.{{ config('datatables-html.namespace', 'LaravelDataTables') }} = window.{{ config('datatables-html.namespace', 'LaravelDataTables') }} || {};
|
||||
@if(isset($editors))
|
||||
@foreach($editors as $editor)
|
||||
var {{$editor->instance}} = window.{{ config('datatables-html.namespace', 'LaravelDataTables') }}["%1$s-{{$editor->instance}}"] = new $.fn.dataTable.Editor({!! $editor->toJson() !!});
|
||||
{!! $editor->scripts !!}
|
||||
window.{{ config('datatables-html.namespace', 'LaravelDataTables') }} =
|
||||
window.{{ config('datatables-html.namespace', 'LaravelDataTables') }} || {};
|
||||
@if (isset($editors))
|
||||
@foreach ($editors as $editor)
|
||||
var {{ $editor->instance }} =
|
||||
window.{{ config('datatables-html.namespace', 'LaravelDataTables') }}["%1$s-{{ $editor->instance }}"] = new
|
||||
$.fn.dataTable.Editor({!! $editor->toJson() !!});
|
||||
{!! $editor->scripts !!}
|
||||
@foreach ((array) $editor->events as $event)
|
||||
{{$editor->instance}}.on('{!! $event['event'] !!}', {!! $event['script'] !!});
|
||||
{{ $editor->instance }}.on('{!! $event['event'] !!}', {!! $event['script'] !!});
|
||||
@endforeach
|
||||
@endforeach
|
||||
@endif
|
||||
return window.{{ config('datatables-html.namespace', 'LaravelDataTables') }}["%1$s"] = $("#%1$s").DataTable($.extend(%2$s, opts));
|
||||
@endif
|
||||
return window.{{ config('datatables-html.namespace', 'LaravelDataTables') }}["%1$s"] =
|
||||
$("#%1$s").DataTable($.extend(%2$s, opts));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user