mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-27 23:23:07 +00:00 
			
		
		
		
	GUACAMOLE-197: Remove debug code from AngularJS files.
This commit is contained in:
		
				
					committed by
					
						 Nick Couchman
						Nick Couchman
					
				
			
			
				
	
			
			
			
						parent
						
							3e994021da
						
					
				
				
					commit
					9c13cb9498
				
			| @@ -22,7 +22,6 @@ | ||||
|  */ | ||||
| angular.module('guacRadius').config(['formServiceProvider', | ||||
|         function guacRadiusConfig(formServiceProvider) { | ||||
|     console.log("In guacRadiusConfig() method."); | ||||
|  | ||||
|     // Define field for the challenge from the RADIUS service | ||||
|     formServiceProvider.registerFieldType('GUAC_RADIUS_CHALLENGE_RESPONSE', { | ||||
| @@ -30,6 +29,8 @@ angular.module('guacRadius').config(['formServiceProvider', | ||||
|         controller  : 'radiusResponseController', | ||||
|         templateUrl : 'app/ext/radius/templates/radiusResponseField.html' | ||||
|     }); | ||||
|  | ||||
|     // Define the hidden field for the RADIUS state | ||||
|     formServiceProvider.registerFieldType('GUAC_RADIUS_STATE', { | ||||
|         module      : 'guacRadius', | ||||
|         controller  : 'radiusStateController', | ||||
|   | ||||
| @@ -24,7 +24,6 @@ | ||||
|  */ | ||||
| angular.module('guacRadius').controller('radiusResponseController', ['$scope', '$element', | ||||
|         function radiusResponseController($scope, $element) { | ||||
|     console.log("In radiusResponseController() method."); | ||||
|  | ||||
|     // Find the area to display the challenge message | ||||
|     var radiusChallenge = $element.find(document.querySelector('#radius-challenge-text')); | ||||
|   | ||||
| @@ -24,10 +24,8 @@ | ||||
|  */ | ||||
| angular.module('guacRadius').controller('radiusStateController', ['$scope', '$element', | ||||
|         function radiusStateController($scope, $element) { | ||||
|     console.log("In radiusStateController() method."); | ||||
|  | ||||
|     // Populate the input area for the connection state | ||||
|     console.log("RADIUS State: " + $scope.field.radiusState); | ||||
|     // Populate the hidden field for the connection state | ||||
|     $scope.model = $scope.field.radiusState; | ||||
|  | ||||
| }]); | ||||
|   | ||||
| @@ -17,8 +17,6 @@ | ||||
|  * under the License. | ||||
|  */ | ||||
|  | ||||
| console.log("Loading guac-radius Angular module."); | ||||
|  | ||||
| /** | ||||
|  * Module which provides handling for RADIUS challenge-response  | ||||
|  * authentication. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user