zulip/static
Sahil Batra 1da7086c35 settings: Fix save button being disabled even for valid values.
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.
2022-08-23 16:17:25 -07:00
..
assets assets: Remove license for previously deleted emoji images. 2022-06-10 12:27:48 -07:00
audio/notification_sounds audio: Remove the copy of zulip.ogg outside notification_sounds. 2022-06-10 12:27:48 -07:00
generated
html
images integration: Add wekan integration. 2022-08-22 15:37:22 -07:00
js settings: Fix save button being disabled even for valid values. 2022-08-23 16:17:25 -07:00
shared read_receipts: Add support for displaying read receipts. 2022-08-12 13:16:35 -07:00
styles search_suggestion: Show profile pictures in autocomplete suggestions. 2022-08-16 14:17:42 -07:00
templates search_suggestions: Fix bug where space in stream names did not show. 2022-08-18 11:22:08 -07:00
third css: Remove Bootstrap legend CSS. 2022-08-13 17:36:08 -07:00
.gitignore docs: Add missing space in “time zone”. 2022-02-24 14:05:12 -08:00