Sha256: 45cc5e7a7e3a59ef788c8c02c110c7d261b1b78bb34b9a25d2f7b5f4d997b694

Contents?: true

Size: 726 Bytes

Versions: 3

Compression:

Stored size: 726 Bytes

Contents

<% locals = flash.key?(:notice) ? { css: %q{success}, text: flash.now[:notice] } : { css: %q{alert}, text: flash.now[:alert] } %>

$("<%= escape_javascript(render partial: "js-callout", locals: locals) %>").appendTo(".callout-wrapper");

<% suggestion_ids.each do |id| %>
  $(".table-list [data-id='<%= id %>']")
    .replaceWith("<%= escape_javascript(render partial: %q{suggestion}, locals: { suggestion: suggestion_find(id) }) %>");
<% end %>

document.getElementById("suggestions_bulk").checked = false;
document.querySelectorAll(".js-check-all-suggestion").forEach((suggestion) => {
    suggestion.checked = false;
});

window.hideBulkActionForms()
window.showBulkActionsButton();
window.selectedSugestionsCountUpdate();

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-participatory_documents-0.2.2 app/views/decidim/participatory_documents/admin/suggestions/publish_answers.js.erb
decidim-participatory_documents-0.2.1 app/views/decidim/participatory_documents/admin/suggestions/publish_answers.js.erb
decidim-participatory_documents-0.2.0 app/views/decidim/participatory_documents/admin/suggestions/publish_answers.js.erb