mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
GUACAMOLE-197: Add $injector to AngularJS controllers.
This commit is contained in:
@@ -21,8 +21,8 @@
|
|||||||
* Controller for the "GUAC_RADIUS_CHALLENGE_RESPONSE" field which
|
* Controller for the "GUAC_RADIUS_CHALLENGE_RESPONSE" field which
|
||||||
* passes the RADIUS server challenge to the user and takes the response.
|
* passes the RADIUS server challenge to the user and takes the response.
|
||||||
*/
|
*/
|
||||||
angular.module('guacRadius').controller('radiusResponseController', ['$scope', '$element',
|
angular.module('guacRadius').controller('radiusResponseController', ['$scope', '$injector',
|
||||||
function radiusResponseController($scope, $element) {
|
function radiusResponseController($scope, $injector) {
|
||||||
|
|
||||||
// Populate the reply message field
|
// Populate the reply message field
|
||||||
$scope.radiusPlaceholder = $scope.field.replyMsg;
|
$scope.radiusPlaceholder = $scope.field.replyMsg;
|
||||||
|
@@ -22,8 +22,8 @@
|
|||||||
* the RADIUS server state to maintain the session with the RADIUS
|
* the RADIUS server state to maintain the session with the RADIUS
|
||||||
* server.
|
* server.
|
||||||
*/
|
*/
|
||||||
angular.module('guacRadius').controller('radiusStateController', ['$scope', '$element',
|
angular.module('guacRadius').controller('radiusStateController', ['$scope', '$injector',
|
||||||
function radiusStateController($scope, $element) {
|
function radiusStateController($scope, $injector) {
|
||||||
|
|
||||||
// Populate the hidden field for the connection state
|
// Populate the hidden field for the connection state
|
||||||
$scope.model = $scope.field.radiusState;
|
$scope.model = $scope.field.radiusState;
|
||||||
|
Reference in New Issue
Block a user