{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+X>¸RI" length;TiŤI" digest;TI"%3c88d6023e7575b66994810534d099b5;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"%a9aade4cb3be15d1907d29b6661895bf;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-23T14:44:56+01:00;TI" digest;TI"%78543fc296c053b6911f5630387ad0ac;FI" _version;TI"%ad5851230fbdd4f8a862674697158df2;F