Sha256: b49e0773d6c7719bf60b0fc5ef203fd2ea77d2bed1a5cadc62d387361ff9cbd3

Contents?: true

Size: 1.31 KB

Versions: 17

Compression:

Stored size: 1.31 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 ./alerts-notices
// require ./collapse-expand
// require ./file_upload
// require ./office_action_templates
//
//= require ./shared
//= require_tree .
//

$(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

17 entries across 17 versions & 1 rubygems

Version Path
wco_models-3.1.0.116 app/assets/javascripts/wco/application.js
wco_models-3.1.0.115 app/assets/javascripts/wco/application.js
wco_models-3.1.0.114 app/assets/javascripts/wco/application.js
wco_models-3.1.0.113 app/assets/javascripts/wco/application.js
wco_models-3.1.0.112 app/assets/javascripts/wco/application.js
wco_models-3.1.0.111 app/assets/javascripts/wco/application.js
wco_models-3.1.0.110 app/assets/javascripts/wco/application.js
wco_models-3.1.0.109 app/assets/javascripts/wco/application.js
wco_models-3.1.0.108 app/assets/javascripts/wco/application.js
wco_models-3.1.0.107 app/assets/javascripts/wco/application.js
wco_models-3.1.0.106 app/assets/javascripts/wco/application.js
wco_models-3.1.0.105 app/assets/javascripts/wco/application.js
wco_models-3.1.0.104 app/assets/javascripts/wco/application.js
wco_models-3.1.0.103 app/assets/javascripts/wco/application.js
wco_models-3.1.0.102 app/assets/javascripts/wco/application.js
wco_models-3.1.0.101 app/assets/javascripts/wco/application.js
wco_models-3.1.0.100 app/assets/javascripts/wco/application.js