{I" class:ETI"ProcessedAsset;FI"logical_path;TI"admin/tags.js;FI" pathname;TI"k/Users/brittanymartin/.rvm/gems/ruby-2.1.5/gems/trusty-cms-2.0.16/app/assets/javascripts/admin/tags.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+v.ÏVI" length;TiÍI" digest;TI"%64175a54e19b3ff74faa54a0b5f75012;FI" source;TI"Í$(function(){ $('#tag_reference').click(function(event){ event.preventDefault(); var href = $(this).attr('href'); $.ajax({ url: href, type: "GET", dataType: "html", success: function(data, textStatus, xhr){ $('#popups').append(data); Popup.show('tag_reference_popup'); $('#filter').keyup(function(){ // Retrieve the input field text and reset the count to zero var filter = $(this).val(), count = 0; // Loop through the tag list $(".tag_description").each(function(){ // If the list item does not contain the text phrase fade it out if ($(this).text().search(new RegExp(filter, "i")) < 0) { $(this).fadeOut(); // Show the list item if the phrase matches and increase the count by 1 } else { $(this).show(); count++; } }); // Update the count $("#filter-count").text("Found "+count+" Tags").css("background-color","yellow"); }); $('.close_link').click(function(){ Popup.close(); $('#tag_reference_popup').remove(); }); } }); }); }); ;TI"dependency_digest;TI"%b4f5399ca8e20ec10039f02b57fe9a33;FI"required_paths;T[I"k/Users/brittanymartin/.rvm/gems/ruby-2.1.5/gems/trusty-cms-2.0.16/app/assets/javascripts/admin/tags.js;FI"dependency_paths;T[{I" path;TI"k/Users/brittanymartin/.rvm/gems/ruby-2.1.5/gems/trusty-cms-2.0.16/app/assets/javascripts/admin/tags.js;FI" mtime;TI"2016-02-25T11:40:22-05:00;TI" digest;TI"%64175a54e19b3ff74faa54a0b5f75012;FI" _version;TI"%5dbb392182285b4042e11c847d2199ba;F