mirror of https://github.com/zulip/zulip.git
6b370fee8a
The stream creation form also uses the same stream_types template as the stream privacy modal, however, it currently does not setup its own handler for displaying the "N:" input when ".stream_message_retention_setting" is changed. Previously, if one opened the stream creation form, then opened the stream edit modal, and then went back to the stream creation form, the drop down would correctly also .show() the input, because the handler here would also target that selector. This is incorrect since we can't always expect the stream_edit modal to be opened first, stream_create should set up its own handlers. Hence, as a prep commit to fixing stream_creation, and to ensure we don't add duplicate handlers, in this commit we change all selectors that targeted ".stream_message_retention_setting" to "#stream_privacy_modal .stream_message_retention_setting" in this file. |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.gitignore |