Sha256: 38a0e46a167159854f6599cf00f28038fbd9aaf68f33e28d5da6b79ac9eae25e
Contents?: true
Size: 1.2 KB
Versions: 38
Compression:
Stored size: 1.2 KB
Contents
var $orderTotalBudget = $('#order-total-budget'); var $orderSelectedProjects = $('#order-selected-projects'); var $orderProgress = $('#order-progress'); var $projectItem = $('#project-<%= project.id %>-item'); var $projectBudgetButton = $('#project-<%= project.id %>-budget-button'); var $budgetConfirm = $('#budget-confirm'); morphdom($orderTotalBudget[0], '<%= j(render partial: 'decidim/budgets/projects/order_total_budget') %>'); morphdom($orderSelectedProjects[0], '<%= j(render partial: 'decidim/budgets/projects/order_selected_projects') %>'); morphdom($orderProgress[0], '<%= j(render partial: 'decidim/budgets/projects/order_progress') %>'); morphdom($budgetConfirm[0], '<%= j(render partial: 'decidim/budgets/projects/budget_confirm') %>') $("#order-progress").foundation(); $(".budget-summary__selected").foundation(); if ($projectItem.length > 0) { morphdom($projectItem[0], '<%= j(render partial: 'decidim/budgets/projects/project', locals: { project: project }) %>'); } if ($projectBudgetButton.length > 0) { morphdom($projectBudgetButton[0], '<%= j(render partial: 'decidim/budgets/projects/project_budget_button', locals: { project: project }) %>'); } window.DecidimBudgets.checkProgressPosition();
Version data entries
38 entries across 38 versions & 2 rubygems