From: Alexander Ebert Date: Tue, 3 Jan 2023 15:04:43 +0000 (+0100) Subject: Presets for confirmation dialogs now optionally ask for an object title X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4d2f540b25dcdcb63c9f47695e77f2e959bd130c;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Presets for confirmation dialogs now optionally ask for an object title --- diff --git a/docs/javascript/components_confirmation.md b/docs/javascript/components_confirmation.md index 4aa076ba..ff842bc7 100644 --- a/docs/javascript/components_confirmation.md +++ b/docs/javascript/components_confirmation.md @@ -43,7 +43,9 @@ All other actions: ## Available Presets WoltLab Suite 6.0 currently ships with three presets for common confirmation dialogs. -All three presets require the title of the related object as part of the question asked to the user. + +All three presets have an optional parameter for the title of the related object as part of the question asked to the user. +It is strongly recommended to provide the title if it exists, otherwise it can be omitted and an indeterminate variant is used instead. ### Soft Delete