mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Make reload save options required explicit arguments.
This commit is contained in:
		@@ -35,7 +35,10 @@ function call(args, idempotent) {
 | 
			
		||||
        if (xhr.status === 403) {
 | 
			
		||||
            try {
 | 
			
		||||
                if ($.parseJSON(xhr.responseText).msg.indexOf("CSRF Error:") !== -1) {
 | 
			
		||||
                    reload.initiate({immediate: true});
 | 
			
		||||
                    reload.initiate({immediate: true,
 | 
			
		||||
                                     save_pointer: true,
 | 
			
		||||
                                     save_narrow: true,
 | 
			
		||||
                                     save_compose: true});
 | 
			
		||||
                }
 | 
			
		||||
            } catch (ex) {
 | 
			
		||||
                blueslip.error('Unexpected 403 response from server',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user