Sha256: f89134510499645cfb7a986827827220abfdcb22f848e91aa0b3696adf3cbfc6
Contents?: true
Size: 532 Bytes
Versions: 19
Compression:
Stored size: 532 Bytes
Contents
- path = controller.controller_name - path = "admin/#{path}" if controller.class.to_s.starts_with?("Admin::") %h4 #{t(:search_assets, t(controller.controller_name + "_small"))} %div{ :style => "margin: 0px 0px 6px 0px" } = text_field_tag('query', @current_query, :size => 23) :javascript var searchTimeout; $('#query').on('keydown', function(event) { $el = $(event.target) if (searchTimeout) clearTimeout(searchTimeout); searchTimeout = setTimeout(function () { crm.search($el.val(), '#{path}'); }, 500); });
Version data entries
19 entries across 19 versions & 2 rubygems