Sha256: ec9b33f89d2f255cdaf3b4cf2beb0cddfbfe26b554872c42f2e13f809c7af82b
Contents?: true
Size: 1.47 KB
Versions: 2
Compression:
Stored size: 1.47 KB
Contents
{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
Version data entries
2 entries across 1 versions & 1 rubygems