{I" class:ETI"ProcessedAsset;FI"logical_path;TI"!blacklight/search_context.js;FI" pathname;TI"/Users/jfriesen/.rvm/gems/ruby-2.0.0-p247@curate/gems/blacklight-4.5.0/app/assets/javascripts/blacklight/search_context.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+ hnRI" length;Ti4I" digest;TI"%dfe3232a061ccdb3f1abfc8c7c690aad;FI" source;TI"4(function($) { Blacklight.do_search_context_behavior = function() { $('a[data-counter]').click(function(event) { var f = document.createElement('form'); f.style.display = 'none'; this.parentNode.appendChild(f); f.method = 'POST'; f.action = $(this).attr('href'); if(event.metaKey || event.ctrlKey){f.target = '_blank';}; var d = document.createElement('input'); d.setAttribute('type', 'hidden'); d.setAttribute('name', 'counter'); d.setAttribute('value', $(this).data('counter')); f.appendChild(d); var id = document.createElement('input'); id.setAttribute('type', 'hidden'); id.setAttribute('name', 'search_id'); id.setAttribute('value', $(this).data('search_id')); f.appendChild(id); var m = document.createElement('input'); m.setAttribute('type', 'hidden'); m.setAttribute('name', '_method'); m.setAttribute('value', 'put'); f.appendChild(m); var m = document.createElement('input'); m.setAttribute('type', 'hidden'); m.setAttribute('name', $('meta[name="csrf-param"]').attr('content')); m.setAttribute('value', $('meta[name="csrf-token"]').attr('content')); f.appendChild(m); f.submit(); return false; }); }; Blacklight.onLoad(function() { Blacklight.do_search_context_behavior(); }); })(jQuery); ;TI"dependency_digest;TI"%03f859a9b9ab17a99623bab81b540200;FI"required_paths;T[I"u/Users/jfriesen/.rvm/gems/ruby-2.0.0-p247@curate/gems/blacklight-4.5.0/app/assets/javascripts/blacklight/core.js;FI"/Users/jfriesen/.rvm/gems/ruby-2.0.0-p247@curate/gems/blacklight-4.5.0/app/assets/javascripts/blacklight/search_context.js;FI"dependency_paths;T[{I" path;TI"/Users/jfriesen/.rvm/gems/ruby-2.0.0-p247@curate/gems/blacklight-4.5.0/app/assets/javascripts/blacklight/search_context.js;FI" mtime;TI"2013-10-28T09:35:06-04:00;TI" digest;TI"%42553d59f3b792e6522189985cf901eb;F{I" path;TI"u/Users/jfriesen/.rvm/gems/ruby-2.0.0-p247@curate/gems/blacklight-4.5.0/app/assets/javascripts/blacklight/core.js;FI" mtime;TI"2013-10-28T09:35:06-04:00;TI" digest;TI"%a4b8523ac744de5022fa4062cefcdf78;FI" _version;TI"%2cf3622cbba861b85d33ffabfa420c13;F