Sha256: 2552f684f6ca72e568bc96fa5f742e1e463ae60d214a4dbeb9536673c3a52e0f
Contents?: true
Size: 632 Bytes
Versions: 6
Compression:
Stored size: 632 Bytes
Contents
import { Client } from "@decidim/decidim-bulletin_board"; $(async () => { const $inPersonVoteWrapper = $(".in-person-vote-wrapper"); if ($inPersonVoteWrapper.length > 0) { const bulletinBoardClient = new Client({ apiEndpointUrl: $inPersonVoteWrapper.data("apiEndpointUrl") }); const messageId = $inPersonVoteWrapper.data("messageId"); await bulletinBoardClient.waitForPendingMessageToBeProcessed(messageId); $("form.update_vote_status").trigger("submit"); } $(".js-verify-document").on("click", () => { $("#verify-document").hide(); $("#complete-voting").removeClass("hide"); }); });
Version data entries
6 entries across 6 versions & 1 rubygems