mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Use Laravel url helpers to improve functionality without dns name (#10227)
* Use Laravel url helpers to improve functionality without dns name Not exhaustive... * Fix Url generated urls * Bump js version
This commit is contained in:
		@@ -220,7 +220,7 @@ echo "
 | 
			
		||||
        event.preventDefault();
 | 
			
		||||
        $.ajax({
 | 
			
		||||
            type: 'POST',
 | 
			
		||||
            url: 'ajax/form',
 | 
			
		||||
            url: '<?php echo url('/ajax/form'); ?>',
 | 
			
		||||
            data: { type: "callback-statistics", state: state},
 | 
			
		||||
            dataType: "json",
 | 
			
		||||
            success: function(data){
 | 
			
		||||
@@ -234,7 +234,7 @@ echo "
 | 
			
		||||
        event.preventDefault();
 | 
			
		||||
        $.ajax({
 | 
			
		||||
            type: 'POST',
 | 
			
		||||
            url: 'ajax/form',
 | 
			
		||||
            url: '<?php echo url('/ajax/form'); ?>',
 | 
			
		||||
            data: { type: "callback-clear"},
 | 
			
		||||
            dataType: "json",
 | 
			
		||||
            success: function(data){
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user