{I" class:ETI"ProcessedAsset; FI"logical_path; TI"basepack/list.js; FI" pathname; TI"N/home/lukas/projects/basepack/app/assets/javascripts/basepack/list.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+žxSI"length; Ti^I"digest; TI"%437619e6fab20d364a3751a8b09a0be3; FI"source; TI"^(function() { var handleMethodParams; handleMethodParams = function(link) { var csrf_param, csrf_token, form, href, key, metadata_input, method, params, target; href = link.attr('href'); method = link.data('bulk-action-method'); target = link.attr('target'); params = link.data('params'); csrf_token = $('meta[name=csrf-token]').attr('content'); csrf_param = $('meta[name=csrf-param]').attr('content'); form = $('
'); metadata_input = ''; if (csrf_param !== 'undefined' && csrf_token !== 'undefined') { metadata_input += ''; } if (params) { for (key in params) { metadata_input += ''; } } if (target) { form.attr('target', target); } form.hide().append(metadata_input).appendTo('body'); return form.submit(); }; $(document).on('click', '[data-bulk-action-method]', function(event) { var ids, params; event.preventDefault(); if ($("[data-bulk-actions-params]").length === 0) { ids = $("input[name^='bulk_ids[]']:checked").map(function() { return $(this).val(); }).get(); $(this).data('params', { ids: ids }); } else { params = $("[data-bulk-actions-params]").data('bulk-actions-params'); $(this).data('params', params); } handleMethodParams($(this)); return true; }); }).call(this); ; TI"dependency_digest; TI"%3e7947e34c3ba104f4573f9b914da90a; FI"required_paths; T[I"N/home/lukas/projects/basepack/app/assets/javascripts/basepack/list.coffee; FI"dependency_paths; T[{I" path; TI"N/home/lukas/projects/basepack/app/assets/javascripts/basepack/list.coffee; FI" mtime; TI"2014-02-28T12:53:02+01:00; TI"digest; TI"%dad0d75b46b3768190e719ade305c910; FI" _version; TI"%ad5851230fbdd4f8a862674697158df2; F