Sha256: cbba1bda95eb1f85bdcd080e6a243104607a5ac2766eebbd95c16b48c0c64816

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.
$(document).ready(function(){
  $(document).on('change','[data-report-filter]',function(){
    tmp_obj = $('[data-reports-link]').data('form-data');
    if(!tmp_obj){ tmp_obj = {}}
    tmp_obj[$(this).attr('name')] = $(this).val();
    $('[data-reports-link]').data('form-data',tmp_obj)
  })
})

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clark_kent-0.0.1 app/assets/javascripts/clark_kent/reports.js