Make reload save options required explicit arguments.

This commit is contained in:
Tim Abbott
2015-11-30 08:47:19 -08:00
parent 12bff0441c
commit 05acd510c0
4 changed files with 20 additions and 3 deletions

View File

@@ -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;
}