Sha256: 16e7ad722a1ae959d97104a7b99dc4ea2ff6a22e5ebb249b17ea8ce6423e9dd3
Contents?: true
Size: 1.26 KB
Versions: 6
Compression:
Stored size: 1.26 KB
Contents
<% if flash.now[:error].present? %> $("#js-form-scope-change-paragraphs #scope_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-scope-change-paragraphs #scope_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-scope-change-paragraphs #scope_id").removeClass("is-invalid-input") $(".js-check-all").prop('checked', false); $(".js-check-all-paragraph").prop('checked', false); window.hideBulkActionForms(); window.hideBulkActionsButton(); window.showOtherActionsButtons(); window.selectedParagraphsCountUpdate(); <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems