Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

dialog_widget: Mention post_render in optional parameters for launch().

Dinesh57b8e43dbb7e
diff --git a/static/js/dialog_widget.js b/static/js/dialog_widget.js
index 0379bd76380..12e9121778e 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) {