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:
Rishi Gupta 2019-02-13 23:20:30 -08:00 committed by Tim Abbott
parent 4e53110350
commit aa8ce36b94
1 changed files with 0 additions and 6 deletions

View File

@ -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 () {