Sha256: dbaab912887bdb9ddd133a1f7b0eb673b1582ef1588a205bfe7c56b73b86d8f7
Contents?: true
Size: 1.23 KB
Versions: 10
Compression:
Stored size: 1.23 KB
Contents
<% if flash.now[:error].present? %> $("#js-form-recategorize-proposals #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-proposals #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"); <% @proposal_ids.each do |id| %> $(".table-list [data-id='<%= id %>']") .replaceWith("<%= escape_javascript(render partial: %q{proposal-tr}, locals: {proposal: proposal_find(id)}) %>"); <% end %> $("#js-form-recategorize-proposals #category_id").removeClass("is-invalid-input") $(".js-check-all").prop('checked', false); $(".js-check-all-proposal").prop('checked', false); window.hideRecategorizeProposalActions() window.showOtherActionsButtons(); window.selectedProposalsCountUpdate(); <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems