Sha256: 3c92ce9206c4af839031d6fa84cee0aeb428a9a9e0a444688256ceea56324f18
Contents?: true
Size: 526 Bytes
Versions: 13
Compression:
Stored size: 526 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
13 entries across 13 versions & 1 rubygems