Respect lolang param in revision history mode too
This commit is contained in:
		
							parent
							
								
									1696a1238e
								
							
						
					
					
						commit
						1a41f8bbd3
					
				| @ -249,7 +249,8 @@ var documentsMain = { | ||||
| 					  //   https://<loolwsd-server>:9980/hosting/discovery
 | ||||
| 					  var urlsrc = $('li[data-id='+ fileId.replace(/_.*/, '') +']>a').attr('urlsrc') + | ||||
| 						  "WOPISrc=" + wopisrc + | ||||
| 					      "&title=" + encodeURIComponent(title) + | ||||
| 						  "&title=" + encodeURIComponent(title) + | ||||
| 						  "&lang=" + $('li[data-id='+ fileId.replace(/_.*/, '') +']>a').attr('lolang') + | ||||
| 						  "&permission=readonly"; | ||||
| 
 | ||||
| 					  // access_token - must be passed via a form post
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user