{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"%35be08dafdd208ac7f64468170a68e7b;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"%813f5e2de3d9c879bacaed7dc1926b27;FI" _version;TI"%069e88c06b889877799890854d7f4c40;F