{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+LSI"length; Ti^I"digest; TI"%24b88465f1205430a25692c9ec5e2129; 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"%2aede13452ee8e793b4f17737fd61783; 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-28T13:30:04+01:00; TI"digest; TI"%c1b603ead7e246e4f80bc116ac241c6a; FI" _version; TI"%2b66aa67c90052d553e0328c249bc9b0; F