From 94e542e3de8a290d49e14c17a0377b25efa0ddf3 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Sat, 6 Oct 2012 17:43:09 -0400 Subject: [PATCH] Modify the right table in add_to_table (imported from commit 0b4171556cff1e1e46ab1e3c64ec8bc74ac45576) --- zephyr/static/js/zephyr.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zephyr/static/js/zephyr.js b/zephyr/static/js/zephyr.js index 62cf338d09..1cbbe69b52 100644 --- a/zephyr/static/js/zephyr.js +++ b/zephyr/static/js/zephyr.js @@ -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"); }); }