Sha256: b264a7d5289c0e410194153c93080d827148cf139d05301a884aa88f7563fb7d

Contents?: true

Size: 545 Bytes

Versions: 6

Compression:

Stored size: 545 Bytes

Contents

var $projects = $('#projects .budget-list');
var $order = $('.budget__list--header [data-collection-sort-controls]');
var $projectsCount = $('#projects-count');
var $orderFilterInput = $('.order_filter');

$projects.html('<%= j(render partial: "projects_list").strip.html_safe %>');
$order.html('<%= j(render partial: "order").strip.html_safe %>');
$projectsCount.html('<%= j(render partial: "count").strip.html_safe %>');
$orderFilterInput.val('<%= order %>');

document.dispatchEvent(new CustomEvent("ajax:loaded", { detail: $projects[0] }));

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-budgets-0.29.1 app/views/decidim/budgets/projects/index.js.erb
decidim-budgets-0.29.0 app/views/decidim/budgets/projects/index.js.erb
decidim-budgets-0.29.0.rc4 app/views/decidim/budgets/projects/index.js.erb
decidim-budgets-0.29.0.rc3 app/views/decidim/budgets/projects/index.js.erb
decidim-budgets-0.29.0.rc2 app/views/decidim/budgets/projects/index.js.erb
decidim-budgets-0.29.0.rc1 app/views/decidim/budgets/projects/index.js.erb