GUACAMOLE-197: Remove debug code from AngularJS files.

This commit is contained in:
Nick Couchman
2017-02-07 15:43:31 -05:00
committed by Nick Couchman
parent 3e994021da
commit 9c13cb9498
4 changed files with 3 additions and 7 deletions

View File

@@ -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',

View File

@@ -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'));

View File

@@ -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;
}]);

View File

@@ -17,8 +17,6 @@
* under the License.
*/
console.log("Loading guac-radius Angular module.");
/**
* Module which provides handling for RADIUS challenge-response
* authentication.