Sha256: 785f84d8046fdd189a09db1ff11929a7b7c40080e7b72ad7a3842dbd2edc38c4

Contents?: true

Size: 539 Bytes

Versions: 7

Compression:

Stored size: 539 Bytes

Contents

var $projects = $('#projects .budget-list');
var $order = $('.budget__list--header .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

7 entries across 7 versions & 1 rubygems

Version Path
decidim-budgets-0.28.4 app/views/decidim/budgets/projects/index.js.erb
decidim-budgets-0.28.3 app/views/decidim/budgets/projects/index.js.erb
decidim-budgets-0.28.2 app/views/decidim/budgets/projects/index.js.erb
decidim-budgets-0.28.1 app/views/decidim/budgets/projects/index.js.erb
decidim-budgets-0.28.0 app/views/decidim/budgets/projects/index.js.erb
decidim-budgets-0.28.0.rc5 app/views/decidim/budgets/projects/index.js.erb
decidim-budgets-0.28.0.rc4 app/views/decidim/budgets/projects/index.js.erb