{I" class:ETI"BundledAsset;�FI"logical_path;�TI"spotlight/exhibits.js;�FI" pathname;�TI"V/Users/cabeer/Projects/sul/spotlight/app/assets/javascripts/spotlight/exhibits.js;�FI"content_type;�TI"application/javascript;�TI" mtime;�Tl+;�FTI"length;�Ti I"digest;�TI"%36dd61825046688f5f1fcd1625b75eae;�FI"source;�TI" Spotlight.onLoad(function() { $("#another-email").on("click", function() { var container = $(this).closest('.form-group'); var contacts = container.find('.contact'); var input_container = contacts.first().clone(); // wipe out any values from the inputs input_container.find('input').each(function() { $(this).val(''); $(this).attr('id', $(this).attr('id').replace('0', contacts.length)); $(this).attr('name', $(this).attr('name').replace('0', contacts.length)); }); input_container.find('.first-row-only').remove(); // bootstrap does not render input-groups with only one value in them correctly. input_container.find('.input-group input:only-child').closest('.input-group').removeClass('input-group'); $(input_container).insertAfter(contacts.last()); }); $('.btn-with-tooltip').tooltip(); // Put focus in saved search title input when Save this search modal is shown $('#save-modal').on('shown.bs.modal', function () { $('#search_title').focus(); }) }); ;�TI"required_assets_digest;�TI"%c1e5d830f12e0fdb95bd3763b63b09bb;�FI" _version;�TI"%64e62ddc273c2f5847f30d698ca14b67;�F