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