{I" class:ETI"ProcessedAsset;FI"logical_path;TI"admin/tags.js;FI" pathname;TI"s/Users/sipple/.rvm/gems/ruby-2.1.5@trusty/gems/trusty-cms-2.0.10.pre.beta/app/assets/javascripts/admin/tags.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+6\ËUI" length;TiÍI" digest;TI"%13b2114795c781e9a188bfbe6fbd4ecb;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"%b9f5031f5ba4cb6bad24f2620150577a;FI"required_paths;T[I"s/Users/sipple/.rvm/gems/ruby-2.1.5@trusty/gems/trusty-cms-2.0.10.pre.beta/app/assets/javascripts/admin/tags.js;FI"dependency_paths;T[{I" path;TI"s/Users/sipple/.rvm/gems/ruby-2.1.5@trusty/gems/trusty-cms-2.0.10.pre.beta/app/assets/javascripts/admin/tags.js;FI" mtime;TI"2015-08-12T10:46:14-04:00;TI" digest;TI"%13b2114795c781e9a188bfbe6fbd4ecb;FI" _version;TI"%22a88f3752f21a842c87c2f56f39cceb;F