mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
compose: Add container parameter to functions.
This commit introduces a new container parameter for functions that can be used for both compose and edit mode. It provides the function with information about the context in which it is being used.
This commit is contained in:
committed by
Tim Abbott
parent
815aeccd04
commit
209e9edd9d
@@ -474,7 +474,8 @@ export function initialize() {
|
||||
`.${CSS.escape(compose_banner.CLASSNAMES.wildcard_warning)} .compose_banner_action_button`,
|
||||
(event) => {
|
||||
event.preventDefault();
|
||||
compose_validate.clear_wildcard_warnings();
|
||||
const {$banner_container} = get_input_info(event);
|
||||
compose_validate.clear_wildcard_warnings($banner_container);
|
||||
compose_validate.set_user_acknowledged_wildcard_flag(true);
|
||||
finish();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user