mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
Make reload save options required explicit arguments.
This commit is contained in:
@@ -366,7 +366,11 @@ function send_message_ajax(request, success, error) {
|
||||
error: function (xhr, error_type) {
|
||||
if (error_type !== 'timeout' && reload.is_pending()) {
|
||||
// The error might be due to the server changing
|
||||
reload.initiate({immediate: true, send_after_reload: true});
|
||||
reload.initiate({immediate: true,
|
||||
save_pointer: true,
|
||||
save_narrow: true,
|
||||
save_compose: true,
|
||||
send_after_reload: true});
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user