mirror of
				https://github.com/telekom-security/tpotce.git
				synced 2025-11-04 06:22:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			209 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			209 B
		
	
	
	
		
			Text
		
	
	
	
	
	
$(document).on('ajaxSend',function(elm, xhr, settings) {
 | 
						|
	if(settings.crossDomain === false) {
 | 
						|
		xhr.setRequestHeader('requesttoken', oc_requesttoken);
 | 
						|
		xhr.setRequestHeader('OCS-APIREQUEST', 'true');
 | 
						|
	}
 | 
						|
});
 |