mirror of https://github.com/zulip/zulip.git
message_actions_popover: Select message being moved.
This helps keep the content of this message in the move messages modal relevant.
This commit is contained in:
parent
4d1bb762be
commit
0c6dfd1e5e
|
@ -123,6 +123,7 @@ export function initialize() {
|
||||||
|
|
||||||
$popper.one("click", ".popover_move_message", (e) => {
|
$popper.one("click", ".popover_move_message", (e) => {
|
||||||
const message_id = $(e.currentTarget).data("message-id");
|
const message_id = $(e.currentTarget).data("message-id");
|
||||||
|
message_lists.current.select_id(message_id);
|
||||||
const message = message_lists.current.get(message_id);
|
const message = message_lists.current.get(message_id);
|
||||||
stream_popover.build_move_topic_to_stream_popover(
|
stream_popover.build_move_topic_to_stream_popover(
|
||||||
message.stream_id,
|
message.stream_id,
|
||||||
|
|
Loading…
Reference in New Issue