Files
zulip/static/js
aryanshridhar d8e2fa5f9c stream_create: Avoid re-initialization of event handlers.
Previously, Everytime the user triggers the Stream create UI
by pressing the `Create stream` button, the
`create_handlers_for_users` function would reinitialize which
created duplicate event handlers for its elements.
This could lead to multiple click events being triggered over the
same element.

One such example was filed as #19255, where the click event was
triggering twice and hence the "Copy from stream" dropdown
would remain folded (closed).

Fixed this by - Initializing the `create_handlers_for_users` function
within the main `set_up_handlers` function, which is triggered only
once upon the opening of Stream create UI.

Fixes #19255.
2021-07-16 08:53:56 -07:00
..
2021-03-12 10:08:25 -08:00
2021-04-26 09:27:49 -07:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-07-05 17:04:06 -07:00
2021-05-28 15:44:49 -07:00
2021-06-22 09:09:36 -07:00
2021-06-24 16:19:22 -07:00
2021-05-10 19:26:41 -07:00
2021-03-12 10:08:25 -08:00
2021-03-12 10:08:25 -08:00
2021-05-18 17:33:51 -07:00