We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64dbd65 commit d2cdbb7Copy full SHA for d2cdbb7
1 file changed
decidim-elections/app/packs/src/decidim/elections/voter/new-vote.js
@@ -45,7 +45,11 @@ $(async () => {
45
castOrAuditBallot({ encryptedData, encryptedDataHash }) {
46
$voteWrapper.find("#step-encrypting").attr("hidden", true);
47
$ballotHash.text(encryptedDataHash);
48
+
49
+ // show the next step
50
$voteWrapper.find("#step-ballot_decision").attr("hidden", false);
51
+ // simulates a toggle click, in order to update the wizard step
52
+ document.dispatchEvent(new Event("on:toggle"));
53
54
const $form = $("form.new_vote");
55
$("#vote_encrypted_data", $form).val(encryptedData);
0 commit comments