Sha256: 827e295baa612f9d952c1e533c58eaf8bb0164b0a90828b1217c8dea6f6cd522
Contents?: true
Size: 633 Bytes
Versions: 7
Compression:
Stored size: 633 Bytes
Contents
import { Client } from "@codegram/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
7 entries across 7 versions & 1 rubygems