Sha256: 16b54606cdf741e589c8ca1f24a727346fa6bcaf3babb7c407866ba43e26595e
Contents?: true
Size: 547 Bytes
Versions: 18
Compression:
Stored size: 547 Bytes
Contents
// show a message to the user if comunication is lost import "src/decidim/elections/broken_promises_handler"; 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
18 entries across 18 versions & 1 rubygems