From 57b8e43dbb7e3d5e26d155197a177490e6889b0c Mon Sep 17 00:00:00 2001 From: Dinesh Date: Mon, 7 Mar 2022 21:51:30 +0530 Subject: [PATCH] dialog_widget: Mention post_render in optional parameters for launch(). --- static/js/dialog_widget.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/dialog_widget.js b/static/js/dialog_widget.js index 0379bd7638..12e9121778 100644 --- a/static/js/dialog_widget.js +++ b/static/js/dialog_widget.js @@ -86,6 +86,7 @@ export function launch(conf) { // * on_shown: Callback to run when the modal is shown. // * on_hide: Callback to run when the modal is triggered to hide. // * on_hidden: Callback to run when the modal is hidden. + // * post_render: Callback to run after the modal body is added to DOM. for (const f of mandatory_fields) { if (conf[f] === undefined) {