mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
Modify the right table in add_to_table
(imported from commit 0b4171556cff1e1e46ab1e3c64ec8bc74ac45576)
This commit is contained in:
@@ -340,7 +340,7 @@ function add_to_table(zephyrs, table_name, filter_function, where) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$.each(zephyrs_to_render, function (index, zephyr) {
|
$.each(zephyrs_to_render, function (index, zephyr) {
|
||||||
var row = get_zephyr_row(zephyr.id);
|
var row = get_zephyr_row(zephyr.id, table_name);
|
||||||
register_huddle_onclick(row, zephyr.sender_email);
|
register_huddle_onclick(row, zephyr.sender_email);
|
||||||
register_onclick(row, zephyr.id);
|
register_onclick(row, zephyr.id);
|
||||||
|
|
||||||
@@ -353,7 +353,7 @@ function add_to_table(zephyrs, table_name, filter_function, where) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$.each(ids_where_next_is_same_sender, function (index, id) {
|
$.each(ids_where_next_is_same_sender, function (index, id) {
|
||||||
get_zephyr_row(id).find('.messagebox').addClass("next_is_same_sender");
|
get_zephyr_row(id, table_name).find('.messagebox').addClass("next_is_same_sender");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user