mirror of https://github.com/zulip/zulip.git
user status: Change text of modal button to Save.
Having it say "Clear" when you delete an existing status was a nice touch, but it's confusing when you first open the modal and the text of the button says "Clear". I think the right medium-term solution here is for this modal to have "Save" and "Cancel" buttons, and for there to be a small UI element in the user popover itself that allows you to clear your current status.
This commit is contained in:
parent
4e53110350
commit
aa8ce36b94
|
@ -64,12 +64,6 @@ exports.update_button = function () {
|
|||
} else {
|
||||
button.attr('disabled', false);
|
||||
}
|
||||
|
||||
if (new_status_text === '') {
|
||||
button.text(i18n.t('Clear'));
|
||||
} else {
|
||||
button.text(i18n.t('Save'));
|
||||
}
|
||||
};
|
||||
|
||||
exports.initialize = function () {
|
||||
|
|
Loading…
Reference in New Issue