Sha256: a1425703b209a936a995090ad3d4569fa461913a867b2656faa0524e3983eff7
Contents?: true
Size: 1.27 KB
Versions: 6
Compression:
Stored size: 1.27 KB
Contents
<% if flash.now[:error].present? %> $("#js-form-recategorize-paragraphs #category_id").addClass("is-invalid-input") $("<%= escape_javascript(render partial: %q{js-callout}, locals: { css: %q{alert}, text: flash.now[:error] }) %>").appendTo(".callout-wrapper"); <% end %> <% if flash.now[:alert].present? %> $("#js-form-recategorize-paragraphs #category_id").removeClass("is-invalid-input") $("<%= escape_javascript(render partial: %q{js-callout}, locals: { css: %q{warning}, text: flash.now[:alert] }) %>").appendTo(".callout-wrapper"); <% end %> <% if flash.now[:notice].present? %> $("<%= escape_javascript(render partial: %q{js-callout}, locals: { css: %q{success}, text: flash.now[:notice] }) %>").appendTo(".callout-wrapper"); <% paragraph_ids.each do |id| %> $(".table-list [data-id='<%= id %>']") .replaceWith("<%= escape_javascript(render partial: %q{paragraph-tr}, locals: { paragraph: paragraph_find(id) }) %>"); <% end %> $("#js-form-recategorize-paragraphs #category_id").removeClass("is-invalid-input") $(".js-check-all").prop('checked', false); $(".js-check-all-paragraph").prop('checked', false); window.hideBulkActionsButton(); window.hideBulkActionForms(); window.showOtherActionsButtons(); window.selectedParagraphsCountUpdate(); <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems