An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
100000000x Speed improvement first toast then submit in the background
ayntk-ai70043c24cfd4
diff --git a/resources/views/components/modal-confirmation.blade.php b/resources/views/components/modal-confirmation.blade.phpindex ccf4fa07c3..8e2b06b454 100644--- a/resources/views/components/modal-confirmation.blade.php+++ b/resources/views/components/modal-confirmation.blade.php@@ -276,26 +276,24 @@<template x-if="step === 2"><x-forms.button x-bind:disabled="confirmWithText && userConfirmationText !== confirmationText" class="w-auto" isError @click="- confirmWithPassword ? step++ : submitForm().then(() => {- if (dispatchEvent) {- $wire.dispatch(dispatchEventType, dispatchEventMessage);- }- modalOpen = false;- resetModal();- })">+ if (dispatchEvent) {+ $wire.dispatch(dispatchEventType, dispatchEventMessage);+ }+ modalOpen = false;+ resetModal();+ confirmWithPassword ? step++ : submitForm()"><span x-text="step2ButtonText"></span></x-forms.button></template><template x-if="step === 3 && confirmWithPassword"><x-forms.button x-bind:disabled="!password" class="w-auto" isError @click="- submitForm().then(() => {- if (dispatchEvent) {- $wire.dispatch(dispatchEventType, dispatchEventMessage);- }- modalOpen = false;- resetModal();- })">+ if (dispatchEvent) {+ $wire.dispatch(dispatchEventType, dispatchEventMessage);+ }+ modalOpen = false;+ resetModal();+ submitForm()"><span x-text="step3ButtonText"></span></x-forms.button></template>