mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
user status: Add user status message options to user status modal.
Several user status message options are added to user status modal so that the users can pick from them. Fixes part of #11629.
This commit is contained in:
committed by
Tim Abbott
parent
61982d9d47
commit
3f10dc92ec
@@ -203,6 +203,15 @@ exports.initialize = function () {
|
||||
window.location.href = $(this).attr('href');
|
||||
});
|
||||
|
||||
// USER STATUS MODAL
|
||||
|
||||
$(".user-status-value").on("click", function (e) {
|
||||
e.stopPropagation();
|
||||
var user_status_value = $(e.currentTarget).attr("data-user-status-value");
|
||||
$("input.user_status").val(user_status_value);
|
||||
user_status_ui.update_button();
|
||||
});
|
||||
|
||||
// NOTIFICATION CLICK
|
||||
|
||||
$('body').on('click', '.notification', function () {
|
||||
|
||||
Reference in New Issue
Block a user