Sha256: 0054321556d1deeb81a67ef503083986e6b03bb7cd4fbe3e24c0760fd6279479
Contents?: true
Size: 439 Bytes
Versions: 6
Compression:
Stored size: 439 Bytes
Contents
import { Client } from "@decidim/decidim-bulletin_board"; $(() => { const $form = $("form.step"); const $pendingAction = $form.find("#pending_action"); const bulletinBoardClient = new Client({ apiEndpointUrl: $pendingAction.data("apiEndpointUrl") }); const messageId = $pendingAction.data("messageId"); bulletinBoardClient.waitForPendingMessageToBeProcessed(messageId).then(() => { $form.trigger("submit"); }); });
Version data entries
6 entries across 6 versions & 1 rubygems