mirror of https://github.com/zulip/zulip.git
Rename persistent_zephyr_id to persistent_message_id.
(imported from commit f8eca5fcec920f61aaf59b91ec7d11722da62164)
This commit is contained in:
parent
ae97a88e72
commit
75e01a3e62
|
@ -1,5 +1,5 @@
|
||||||
// For tracking where you were before you narrowed.
|
// For tracking where you were before you narrowed.
|
||||||
var persistent_zephyr_id = 0;
|
var persistent_message_id = 0;
|
||||||
|
|
||||||
// Narrowing predicate, or 'false' for the home view.
|
// Narrowing predicate, or 'false' for the home view.
|
||||||
var narrowed = false;
|
var narrowed = false;
|
||||||
|
@ -8,7 +8,7 @@ function do_narrow(description, filter_function) {
|
||||||
narrowed = filter_function;
|
narrowed = filter_function;
|
||||||
|
|
||||||
// Your pointer isn't changed when narrowed.
|
// Your pointer isn't changed when narrowed.
|
||||||
persistent_zephyr_id = selected_message_id;
|
persistent_message_id = selected_message_id;
|
||||||
|
|
||||||
// Empty the filtered table right before we fill it again
|
// Empty the filtered table right before we fill it again
|
||||||
clear_table('zfilt');
|
clear_table('zfilt');
|
||||||
|
@ -103,7 +103,7 @@ function show_all_messages() {
|
||||||
$("#currently_narrowed_to").html("");
|
$("#currently_narrowed_to").html("");
|
||||||
|
|
||||||
// Includes scrolling.
|
// Includes scrolling.
|
||||||
select_and_show_by_id(persistent_zephyr_id);
|
select_and_show_by_id(persistent_message_id);
|
||||||
|
|
||||||
scroll_to_selected();
|
scroll_to_selected();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue