From f66124cbe2c469a74b5b3a75e85a3f4b96666b42 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 9 Oct 2012 17:51:45 -0400 Subject: [PATCH] Rename select_zephyr(_by_id) to select_message_*. (imported from commit 91619adf0e610017fbef52d2796020cb16537653) --- tools/jslint/check-all.js | 2 +- zephyr/jstemplates/zephyr.html | 8 ++++---- zephyr/static/js/hotkey.js | 6 +++--- zephyr/static/js/ui.js | 2 +- zephyr/static/js/zephyr.js | 10 +++++----- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tools/jslint/check-all.js b/tools/jslint/check-all.js index 81cd2d5cd6..b9566b88ef 100644 --- a/tools/jslint/check-all.js +++ b/tools/jslint/check-all.js @@ -40,7 +40,7 @@ var globals = + ' message_array message_dict' + ' status_classes clear_table add_to_table instance_list' + ' keep_pointer_in_view respond_to_zephyr' - + ' select_zephyr select_zephyr_by_id' + + ' select_message select_message_by_id' + ' scroll_to_selected select_and_show_by_id' + ' selected_zephyr selected_zephyr_id' + ' at_top_of_viewport at_bottom_of_viewport' diff --git a/zephyr/jstemplates/zephyr.html b/zephyr/jstemplates/zephyr.html index b70542a9a9..9d665c4c17 100644 --- a/zephyr/jstemplates/zephyr.html +++ b/zephyr/jstemplates/zephyr.html @@ -23,23 +23,23 @@ {{display_recipient}} {{instance}} {{else}} Huddle with {{display_reply_to}} {{/if}} {{/include_recipient}} + onclick="select_message_by_id({{id}});"> {{#include_sender}}