Sha256: dab87bae2a5d75865014230f4dffc43f80d28a6374a36c973b225c073e12bee5
Contents?: true
Size: 775 Bytes
Versions: 30
Compression:
Stored size: 775 Bytes
Contents
<% if @filter_submit_success %> <%= turbo_stream.append_all "body" do %> <script> (function() { const formId = <%= @refine_filter_builder.client_id.to_json.html_safe %> const event = new CustomEvent("filter-submit-success", { bubbles: true, detail: { stableId: <%= @stable_id.to_json.html_safe %>, url: <%= @url_for_redirect.to_json.html_safe %>, formId: formId } }) document .getElementById(<%= dom_id(@refine_filter_builder, "query").to_json.html_safe %>) .dispatchEvent(event) })() </script> <% end %> <% else %> <%= turbo_stream.replace(dom_id(@refine_filter_builder, "query"), partial: "refine/blueprints/query") %> <% end %>
Version data entries
30 entries across 30 versions & 1 rubygems