mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
Refactor reload.js to allow saving only some state when reloading.
The reload state is now divided into 3 different components: pointer, narrow, compose
This commit is contained in:
committed by
Tim Abbott
parent
9a3331acaf
commit
24b63f30ba
@@ -273,7 +273,10 @@ function fast_forward_pointer() {
|
||||
furthest_read = data.max_message_id;
|
||||
unconditionally_send_pointer_update().then(function () {
|
||||
ui.change_tab_to('#home');
|
||||
reload.initiate({immediate: true, save_state: false});
|
||||
reload.initiate({immediate: true,
|
||||
save_pointer: false,
|
||||
save_narrow: false,
|
||||
save_compose: false});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user