mirror of https://github.com/zulip/zulip.git
1da7086c35
On changing either one of message edit or delete limit setting from "Any time" to "Custom", the "Save changes" button is not enabled even after entering valid input. We can see this bug if both the edit or delete limit setting is set to "Anytime" initially and one of the setting is changed to "Custom". This is because the custom input for "Any time" case is empty even though it is hidden and the check for disabling the button was not checking whether the input is hidden or not. This commit changes the code to consider the value in custom input box only if the input is visible, i.e. the dropdown value is set to "Custom". This bug was introduced in #21837 where we added the functionality to disable the save button. |
||
---|---|---|
.. | ||
assets | ||
audio/notification_sounds | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.gitignore |