Modify the right table in add_to_table

(imported from commit 0b4171556cff1e1e46ab1e3c64ec8bc74ac45576)
This commit is contained in:
Keegan McAllister 2012-10-06 17:43:09 -04:00
parent 321c2df67e
commit 94e542e3de
1 changed files with 2 additions and 2 deletions

View File

@ -340,7 +340,7 @@ function add_to_table(zephyrs, table_name, filter_function, where) {
}
$.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_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) {
get_zephyr_row(id).find('.messagebox').addClass("next_is_same_sender");
get_zephyr_row(id, table_name).find('.messagebox').addClass("next_is_same_sender");
});
}