Sha256: 95ffef2febd823b4f649d5571e0cd33de981ef4e97aca5f35ffcdd918620749b
Contents?: true
Size: 436 Bytes
Versions: 6
Compression:
Stored size: 436 Bytes
Contents
import { Client } from "@decidim/decidim-bulletin_board"; $(async () => { const $castingVoteWrapper = $(".casting-vote-wrapper"); const bulletinBoardClient = new Client({ apiEndpointUrl: $castingVoteWrapper.data("apiEndpointUrl") }); const messageId = $castingVoteWrapper.data("messageId"); await bulletinBoardClient.waitForPendingMessageToBeProcessed(messageId); $("form.update_vote_status").trigger("submit"); });
Version data entries
6 entries across 6 versions & 1 rubygems