mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
The custom input was not being shown when changing user email notification batching period setting dropdown to "Custom" option. This was because parse_time_limit was undefined in case organization settings was not loaded till then, and the code raised an error. This commit changes the code to define parse_limit_function at module-level instead of defining it in register_save_discard_widget_handlers which is called only when build_page is called which happens only when organization settings is opened before changing the notification batching setting. Fixes #23674.
49 KiB
49 KiB