{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+.pRI" length;TiI" digest;TI"%fd3799ea3225a3bd9d4f1f83477c0f63;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; event.preventDefault(); ids = $("input[name^='bulk_ids[]']:checked").map(function() { return $(this).val(); }).get(); $(this).data('params', { ids: ids }); handleMethodParams($(this)); return true; }); }).call(this); ;TI"dependency_digest;TI"%37196523b4e0651c16a02a1e9bace87d;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"2013-12-23T18:17:34+01:00;TI" digest;TI"%e0e6db684dc103d97c0fc6a2fb2ef2b0;FI" _version;TI"%01dc9d4cb5b0ece13ed47cc1cabfeb41;F