mirror of https://github.com/zulip/zulip.git
Rename respond_to_zephyr to respond_to_message.
(imported from commit 34e7793601ad6f41d71be2e2060c58138b9d3b53)
This commit is contained in:
parent
9a359c8d05
commit
06ffd206ae
|
@ -39,7 +39,7 @@ var globals =
|
|||
// zephyr.js
|
||||
+ ' message_array message_dict'
|
||||
+ ' status_classes clear_table add_to_table instance_list'
|
||||
+ ' keep_pointer_in_view respond_to_zephyr'
|
||||
+ ' keep_pointer_in_view respond_to_message'
|
||||
+ ' select_message select_message_by_id'
|
||||
+ ' scroll_to_selected select_and_show_by_id'
|
||||
+ ' selected_message selected_message_id'
|
||||
|
|
|
@ -81,10 +81,10 @@ function process_hotkey(code) {
|
|||
compose_button();
|
||||
return process_compose_hotkey;
|
||||
case 114: // 'r': respond to zephyr
|
||||
respond_to_zephyr();
|
||||
respond_to_message();
|
||||
return process_hotkey;
|
||||
case 82: // 'R': respond to author
|
||||
respond_to_zephyr("personal");
|
||||
respond_to_message("personal");
|
||||
return process_hotkey;
|
||||
case 103: // 'g': start of "go to" command
|
||||
return process_goto_hotkey;
|
||||
|
|
|
@ -9,7 +9,7 @@ function register_onclick(zephyr_row, zephyr_id) {
|
|||
if (!(clicking && mouse_moved)) {
|
||||
// Was a click (not a click-and-drag).
|
||||
select_message_by_id(zephyr_id);
|
||||
respond_to_zephyr();
|
||||
respond_to_message();
|
||||
}
|
||||
mouse_moved = false;
|
||||
clicking = false;
|
||||
|
|
|
@ -113,7 +113,7 @@ function get_huddle_recipient_names(zephyr) {
|
|||
return recipient;
|
||||
}
|
||||
|
||||
function respond_to_zephyr(reply_type) {
|
||||
function respond_to_message(reply_type) {
|
||||
var zephyr, tabname;
|
||||
zephyr = message_dict[selected_message_id];
|
||||
if (zephyr.type === "class") {
|
||||
|
|
Loading…
Reference in New Issue