From 8ed27a8b36dd250fe62a0f65ae3f28d2982022b2 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 29 Jun 2021 12:00:06 -0700 Subject: [PATCH] GUACAMOLE-724: Properly disconnect if required parameters are not submitted. --- .../src/app/client/directives/guacClientNotification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guacamole/src/main/frontend/src/app/client/directives/guacClientNotification.js b/guacamole/src/main/frontend/src/app/client/directives/guacClientNotification.js index 719bfc45d..60c7595db 100644 --- a/guacamole/src/main/frontend/src/app/client/directives/guacClientNotification.js +++ b/guacamole/src/main/frontend/src/app/client/directives/guacClientNotification.js @@ -349,7 +349,7 @@ angular.module('client').directive('guacClientNotification', [function guacClien className : "button", callback : function cancelSubmission() { $scope.client.requiredParameters = null; - $scope.disconnect(); + $scope.client.client.disconnect(); } };