Sha256: 2597b134b5a9f71ca989d3fbce58d8afe4dadd1863f89045bd422ba5f1dd4ad2
Contents?: true
Size: 1.32 KB
Versions: 15
Compression:
Stored size: 1.32 KB
Contents
// // // // this was loaded twice causing issues - disabled for now. // require vendor/jquery-3.3.1.min // require vendor/popper-1.14.0.min // require vendor/bootstrap-4.6.2.min // require vendor/fontawesome-5.15.4.min // //= require rails-ujs //= require vendor/jquery.iframe-transport //= require vendor/jquery.ui.widget //= require vendor/jquery.fileupload //= require vendor/jquery-ui.min // // require select2 // //= require ./alerts-notices //= require ./collapse-expand //= require ./file_upload //= require ./office_action_templates //= require ./shared // $(function() { /* DataTable */ if ('function' === typeof $('body').DataTable) { const _props = { dom: 'lpftrip', lengthChange: true, lengthMenu: [[10, 25, 100, -1], [10, 25, 100, 'All']], pageLength: 25, aoColumnDefs: [ { bSortable: false, aTargets: [ "nosort" ], } ], order: [], // [ 3, 'desc' ], } $('.data-table').DataTable(_props) } /* datepicker */ if ('function' === typeof $('body').datepicker) { $(".datepicker").datepicker({ dateFormat: 'yy-mm-dd' }) } /* select2 */ if (!!$('body').select2) { $('.select2').each(function() { $( this ).select2({ width: '100%', }) }) } /* tinymce */ if ($(".tinymce").length > 0) { $(".tinymce").summernote() } console.log('Loaded wco/application.js') }); // END
Version data entries
15 entries across 15 versions & 1 rubygems