You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by mj...@apache.org on 2018/01/30 23:44:39 UTC

[27/50] guacamole-client git commit: GUACAMOLE-197: Add $injector to AngularJS controllers.

GUACAMOLE-197: Add $injector to AngularJS controllers.


Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/45f9815e
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/45f9815e
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/45f9815e

Branch: refs/heads/master
Commit: 45f9815eed43896061f9ed35e6fca80718142806
Parents: f84e3b8
Author: Nick Couchman <vn...@apache.org>
Authored: Sun Nov 19 17:39:28 2017 -0500
Committer: Nick Couchman <vn...@apache.org>
Committed: Mon Jan 29 17:08:11 2018 -0500

----------------------------------------------------------------------
 .../src/main/resources/controllers/radiusResponseController.js   | 4 ++--
 .../src/main/resources/controllers/radiusStateController.js      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/45f9815e/extensions/guacamole-auth-radius/src/main/resources/controllers/radiusResponseController.js
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-radius/src/main/resources/controllers/radiusResponseController.js b/extensions/guacamole-auth-radius/src/main/resources/controllers/radiusResponseController.js
index 9e363de..ddc7e34 100644
--- a/extensions/guacamole-auth-radius/src/main/resources/controllers/radiusResponseController.js
+++ b/extensions/guacamole-auth-radius/src/main/resources/controllers/radiusResponseController.js
@@ -21,8 +21,8 @@
  * Controller for the "GUAC_RADIUS_CHALLENGE_RESPONSE" field which
  * passes the RADIUS server challenge to the user and takes the response.
  */
-angular.module('guacRadius').controller('radiusResponseController', ['$scope', '$element',
-        function radiusResponseController($scope, $element) {
+angular.module('guacRadius').controller('radiusResponseController', ['$scope', '$injector',
+        function radiusResponseController($scope, $injector) {
 
     // Populate the reply message field
     $scope.radiusPlaceholder = $scope.field.replyMsg;

http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/45f9815e/extensions/guacamole-auth-radius/src/main/resources/controllers/radiusStateController.js
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-radius/src/main/resources/controllers/radiusStateController.js b/extensions/guacamole-auth-radius/src/main/resources/controllers/radiusStateController.js
index 726f2f5..fb956ab 100644
--- a/extensions/guacamole-auth-radius/src/main/resources/controllers/radiusStateController.js
+++ b/extensions/guacamole-auth-radius/src/main/resources/controllers/radiusStateController.js
@@ -22,8 +22,8 @@
  * the RADIUS server state to maintain the session with the RADIUS
  * server.
  */
-angular.module('guacRadius').controller('radiusStateController', ['$scope', '$element',
-        function radiusStateController($scope, $element) {
+angular.module('guacRadius').controller('radiusStateController', ['$scope', '$injector',
+        function radiusStateController($scope, $injector) {
 
     // Populate the hidden field for the connection state
     $scope.model = $scope.field.radiusState;